CVE-2022-21191

Source
https://cve.org/CVERecord?id=CVE-2022-21191
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21191.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21191
Aliases
Published
2023-01-13T05:00:01.119Z
Modified
2026-07-15T01:49:11.823985688Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P CVSS Calculator
Summary
[none]
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
{
    "cna_assigner": "snyk",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21191.json"
}
References

Affected packages

Git / github.com/rosen-vladimirov/global-modules-path

Affected ranges

Type
GIT
Repo
https://github.com/rosen-vladimirov/global-modules-path
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.0.0"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v2.*
v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.3.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21191.json"