published 25 Apr 2022 · updated 16 Sep 2024
Command Injection
8.1HighCVSS 8.1EPSS 4%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 4.0.3.
The package czproject/git-php before 4.0.3 are vulnerable to Command Injection via git argument injection. When calling the isRemoteUrlReadable($url, array $refs = NULL) function, both the url and refs parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| <4.0.3 | 4.0.3 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket