PT-2023-12824 · Unknown · Simple-Git
Santos Gallegos
·
Published
2023-01-24
·
Updated
2026-05-13
·
CVE-2022-25860
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
simple-git versions prior to 3.16.0
Description
The issue is related to Remote Code Execution (RCE) due to improper input sanitization in the
clone(), pull(), push(), and listRemote() methods. This vulnerability exists because of an incomplete fix of a previous issue.Recommendations
For versions prior to 3.16.0, update to version 3.16.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
clone(), pull(), push(), and listRemote() methods until the update is applied.Exploit
Fix
Code Injection
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Simple-Git