Affected versions
- Affected versions
- < 3.15.0
- Fixed version
- 3.15.0
- Affected versions
- <=1.2.1
- Fixed version
- 1.3.0
- Affected versions
- <=4.4.0
- Fixed version
- 4.4.1
- Affected versions
- <=1.0.5
- Fixed version
- 1.0.6
- Affected versions
- <=1.0.3
- Fixed version
- 1.1.0
- Affected versions
- <=1.3.0
- Fixed version
- 1.4.0
Exploitation
Description
The package simple-git before 3.15.0 is 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.
Links
- https://github.com/advisories/GHSA-9p95-fxvg-qgq2
- https://github.com/steveukx/git-js
- https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-UNSAFE-ACTIONS.md%23overriding-allowed-protocols
- https://github.com/steveukx/git-js/commit/774648049eb3e628379e292ea172dccaba610504
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.15.0
- https://nvd.nist.gov/vuln/detail/CVE-2022-25912
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3153532
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221
- https://www.wordfence.com/threat-intel/vulnerabilities/id/4c747e6f-31fc-41b0-ba62-f009b5483696?source=api-prod
Credits
- Sam Wheating

