Vulnerability · Published Dec 12, 2022 · Assigned by snyk

CVE-2022-25912Remote Code Execution (RCE)

High 8.1

In plain English

A high-severity OS command injection in simple-git. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)3.1%top 12.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

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](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmsimple-git3.15.0GHSA-9p95-fxvg-qgq2

Affected products (as reported)

VendorProductVersions
n/a simple-git unspecified – before 3.15.0

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

References