Advisory

GHSA-28xr-mwxg-3qc8

Also known as: CVE-2022-24066

Summary

Command injection in simple-git

Details

simple-git (maintained as git-js named repository on GitHub) is a light weight interface for running git commands in any node.js application.The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of CVE-2022-24433 which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover. A fix was released in [email protected].

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-04-02 00:00 UTC
Modified
2025-01-14 10:57 UTC

Affected packages and fixes

simple-git

npm · All systems

Affected

  • introduced 0, fixed 3.5.0 (semver)

Fixed versions

3.5.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