GHSA-cr6m-62pq-hmqh

Suggest an improvement
Source
https://github.com/advisories/GHSA-cr6m-62pq-hmqh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-cr6m-62pq-hmqh/GHSA-cr6m-62pq-hmqh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cr6m-62pq-hmqh
Aliases
Published
2022-03-04T00:00:18Z
Modified
2023-11-08T04:07:41Z
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 npm-lockfile
Details

npm-lockfile safely generates an npm lockfile and output it to the filename of your choice. npm-lockfile before 2.0.4 does not santize unsafe external input and invoke sensitive command execution API with the input, causing command injection vulnerability. A fix was released in version 2.0.5.

Database specific
{
    "cwe_ids":  [
        "CWE-78"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-03-04T21:20:11Z",
    "nvd_published_at":  "2022-03-03T16:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / npm-lockfile

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.3
Fixed
2.0.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-cr6m-62pq-hmqh/GHSA-cr6m-62pq-hmqh.json"