czproject/git-php
Affected
- introduced
0, fixed4.0.3(ecosystem)
Fixed versions
4.0.3
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2022-25866, SNYK-PHP-CZPROJECTGITPHP-2421349
Command injection in czproject/git-php
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.
High Basis: The source's own band: HIGH
0, fixed 4.0.3 (ecosystem)4.0.3
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0