GHSA-vvj3-85vf-fgmw

Suggest an improvement
Source
https://github.com/advisories/GHSA-vvj3-85vf-fgmw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-vvj3-85vf-fgmw/GHSA-vvj3-85vf-fgmw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-vvj3-85vf-fgmw
Aliases
Published
2023-01-13T06:30:22Z
Modified
2023-11-01T04:57:38.214739Z
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
global-modules-path Command Injection vulnerability
Details

Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the getPath function.

Database specific
{
    "nvd_published_at": "2023-01-13T05:15:00Z",
    "github_reviewed_at": "2023-01-13T21:33:18Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

npm / global-modules-path

Package

Name
global-modules-path
View open source insights on deps.dev
Purl
pkg:npm/global-modules-path

Affected ranges

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