cve.bz

CVE-2022-21191

9.8 criticalEPSS 1.5%

Critical (9.8) in global-modules-path project global-modules-path. EPSS 1.5% chance of exploitation in the next 30 days. Fixed in global-modules-path 3.0.0.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.5% chance of exploitation in the next 30 days; higher than 74% of CVEs (scores of 2026-10-31)
CWEs
CWE-78, CWE-77
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vvj3-85vf-fgmwnpmglobal-modules-path<3.0.03.0.0

References

Check your stackJSON