CVE-2022-25912
HIGH8.1EPSS 33.7%simple-git vulnerable to Remote Code Execution when enabling the ext transport protocol
Published: 12/6/2022Modified: 11/8/2023
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](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306).
Affected packages (1)
- npm/simple-gitfrom 0, < 3.15.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-25912
- PATCHhttps://github.com/steveukx/git-js
- WEBhttps://github.com/steveukx/git-js/blob/main/docs/PLUGIN-UNSAFE-ACTIONS.md%23overriding-allowed-protocols
- WEBhttps://github.com/steveukx/git-js/commit/774648049eb3e628379e292ea172dccaba610504
- WEBhttps://github.com/steveukx/git-js/releases/tag/simple-git%403.15.0
- WEBhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3153532
- WEBhttps://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221