Advisory

GHSA-9w5j-4mwv-2wj8

Also known as: CVE-2022-25860

Summary

Remote code execution in simple-git

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-01-26 21:30 UTC
Modified
2025-04-01 23:03 UTC

Affected packages and fixes

simple-git

npm · All systems

Affected

  • introduced 0, fixed 3.16.0 (semver)

Fixed versions

3.16.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences