GHSA-6qpr-9mc5-7gch

Suggest an improvement
Source
https://github.com/advisories/GHSA-6qpr-9mc5-7gch
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-6qpr-9mc5-7gch/GHSA-6qpr-9mc5-7gch.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6qpr-9mc5-7gch
Aliases
Published
2021-04-12T19:50:20Z
Modified
2025-01-14T08:57:23.363878Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command Injection in async-git
Details

The package async-git before 1.13.2 are vulnerable to Command Injection via shell meta-characters (back-ticks). For example: git.reset('atouch HACKEDb')

Database specific
{
    "nvd_published_at": "2021-02-18T15:15:00Z",
    "cwe_ids": [
        "CWE-78"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-03-18T22:57:13Z"
}
References

Affected packages

npm / async-git

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.2