CVE-2022-25860

Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization. This vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).
Configurations

Configuration 1 (hide)

cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*

History

01 Apr 2025, 16:15

Type Values Removed Values Added
CWE CWE-78

21 Nov 2024, 06:53

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 8.1
Summary
  • (es) Las versiones del paquete simple-git anteriores a la 3.16.0 son vulnerables a la ejecución remota de código (RCE) a través de los métodos clone(), pull(), push() y listRemote(), debido a una sanitización de entrada inadecuada. Esta vulnerabilidad existe debido a una solución incompleta de [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).
References () https://github.com/steveukx/git-js/commit/ec97a39ab60b89e870c5170121cd9c1603cc1951 - Patch, Third Party Advisory () https://github.com/steveukx/git-js/commit/ec97a39ab60b89e870c5170121cd9c1603cc1951 - Patch, Third Party Advisory
References () https://github.com/steveukx/git-js/pull/881/commits/95459310e5b8f96e20bb77ef1a6559036b779e13 - Patch, Third Party Advisory () https://github.com/steveukx/git-js/pull/881/commits/95459310e5b8f96e20bb77ef1a6559036b779e13 - Patch, Third Party Advisory
References () https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391 - Exploit, Third Party Advisory () https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391 - Exploit, Third Party Advisory

Information

Published : 2023-01-26 21:15

Updated : 2025-04-01 16:15


NVD link : CVE-2022-25860

Mitre link : CVE-2022-25860

CVE.ORG link : CVE-2022-25860


JSON object : View

Products Affected

simple-git_project

  • simple-git
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

NVD-CWE-noinfo CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')