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:01Z
Modified
2026-10-21T02:30:59Z
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
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "3.0.0"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "edbdaff077ea0cf295b1469923c06bbccad3c180"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v3.0.0",
            "range":  [
                {
                    "fixed":  "14ebe026feb5e3f22713c000be03537dc0a55613"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

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"