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).
CVE-2022-25912 - Critical Severity Vulnerability
Vulnerable Library - simple-git-1.113.0.tgz
Simple GIT interface for node.js
Library home page: https://registry.npmjs.org/simple-git/-/simple-git-1.113.0.tgz
Path to dependency file: /generic-oauth/package.json
Path to vulnerable library: /tmp/git/generic-oauth/node_modules/simple-git/package.json
Dependency Hierarchy: - lint-staged-8.2.0.tgz (Root Library) - g-status-2.0.2.tgz - :x: **simple-git-1.113.0.tgz** (Vulnerable Library)
Found in HEAD commit: 31f5cb63b4ed71bb0a592036c13801d050e24f93
Found in base branch: master
Vulnerability Details
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).
Publish Date: 2022-12-06
URL: CVE-2022-25912
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2022-25912
Release Date: 2022-12-06
Fix Resolution (simple-git): 3.15.0
Direct dependency fix Resolution (lint-staged): 9.0.0
Step up your Open Source Security Game with Mend here