CVE-2022-25912
CRITICAL 9.8CVSS 3.1simple-git vulnerable to Remote Code Execution when enabling the ext transport protocol
The package simple-git before 3.15.0 are vulnerable to Remote Code Execution (RCE) when enabling the ext transport protocol, which makes it exploitable via clone() method. This vulnerability exists due to an incomplete fix of CVE-2022-24066.
- Published
- 6 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-9p95-fxvg-qgq2
- Sources
- NVDJSONOSV GHSA-9p95-fxvg-qgq2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simple-git_project | simple-gitcpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:* |
< 3.15.0 | 3.15.0 |
| OSV | npm | simple-git | < 3.15.0 | 3.15.0 |
References
- https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-UNSAFE-ACTIONS.md%23overriding-allowed-protocols · Broken Link, WEB
- https://github.com/steveukx/git-js/commit/774648049eb3e628379e292ea172dccaba610504 · Patch, Third Party Advisory, WEB
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.15.0 · Release Notes, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3153532 · Exploit, Patch, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25912 · ADVISORY
- https://github.com/steveukx/git-js · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Dec 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Dec 2022)