simple-git < 3.16.0 - Remote Code Execution

2023-02-23 00:00
Anonymous

Strategic Overview

Status
Patched in 1.1.0
Affected Version<= 1.0.3
CVSS8.1High
CVECVE-2022-25860
View all Insecure Content Warning vulnerabilities

Vulnerability Overview

The package simple-git is vulnerable to Remote Code Execution in versions before 3.16.0 via the clone(), pull(), push() and listRemote() methods due to improper input sanitization. This is due to an incomplete fix of CVE-2022-25912. WordPress plugins and themes may be using this package, however, they may not be vulnerable to exploitation.

Technical Analysis

REMEDIATION: Update to version 1.1.0, or a newer patched version --- IDENTIFIER: CWE-94 (Improper Control of Generation of Code ('Code Injection')) The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C