GHSA-4h66-vghf-xg5x

Suggest an improvement
Source
https://github.com/advisories/GHSA-4h66-vghf-xg5x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-4h66-vghf-xg5x/GHSA-4h66-vghf-xg5x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4h66-vghf-xg5x
Aliases
Published
2022-08-03T00:00:57Z
Modified
2023-11-08T04:04:10.946675Z
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
get-npm-package-version Command Injection vulnerability
Details

The package get-npm-package-version before 1.0.7 is vulnerable to Command Injection via the main function in index.js.

Database specific
{
    "nvd_published_at": "2022-08-02T14:15:00Z",
    "github_reviewed_at": "2022-08-10T17:43:31Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

npm / get-npm-package-version

Package

Name
get-npm-package-version
View open source insights on deps.dev
Purl
pkg:npm/get-npm-package-version

Affected ranges

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