9.8

CVE-2022-25866

Exploit

Command Injection

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Git-php ProjectGit-php Version < 4.0.3
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 3.77% 0.885
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd@nist.gov 7.5 10 6.4
AV:N/AC:L/Au:N/C:P/I:P/A:P
report@snyk.io 8.1 2.2 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733
Patch
Third Party Advisory
https://github.com/czproject/git-php/releases/tag/v4.0.3
Third Party Advisory
Release Notes
https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349
Patch
Third Party Advisory
Exploit