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.osv.dev/v1/vulns/GHSA-vvj3-85vf-fgmw
Aliases
Published
2023-01-13T06:30:22Z
Modified
2025-04-04T19:33:44Z
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
{
    "cwe_ids":  [
        "CWE-77",
        "CWE-78"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-01-13T21:33:18Z",
    "nvd_published_at":  "2023-01-13T05:15:00Z",
    "severity":  "CRITICAL"
}
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
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-vvj3-85vf-fgmw/GHSA-vvj3-85vf-fgmw.json"