Security mailing lists by PureSourceCode

CVE-2022-21191

CRITICAL 9.8CVSS 3.1

global-modules-path Command Injection vulnerability

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.

Published
13 Jan 2023
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-77CWE-78
Also known as
GHSA-vvj3-85vf-fgmw
Sources
NVDJSONOSV GHSA-vvj3-85vf-fgmwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD global-modules-path_project global-modules-path
cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:*
< 3.0.0 3.0.0
OSV npm global-modules-path < 3.0.0 3.0.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Jan 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.