GHSA-6c3f-p5wp-34mh

Suggest an improvement
Source
https://github.com/advisories/GHSA-6c3f-p5wp-34mh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-6c3f-p5wp-34mh/GHSA-6c3f-p5wp-34mh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6c3f-p5wp-34mh
Aliases
  • CVE-2021-3190
Published
2021-01-29T18:14:00Z
Modified
2023-11-08T04:05:51.640137Z
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
OS Command Injection in async-git
Details

The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. Ensure to sanitize untrusted user input before passing it to one of the vulnerable functions as a workaround or update async-git to version 1.13.1.

Database specific
{
    "cwe_ids": [
        "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-01-27T23:33:04Z",
    "nvd_published_at": "2021-01-26T18:16:00Z",
    "severity": "CRITICAL"
}
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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-6c3f-p5wp-34mh/GHSA-6c3f-p5wp-34mh.json"