CVE-2022-21186

Source
https://cve.org/CVERecord?id=CVE-2022-21186
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21186.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21186
Aliases
Published
2022-08-05T05:00:18.167Z
Modified
2026-07-08T06:01:29.150452636Z
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/E:P CVSS Calculator
Summary
Arbitrary Command Injection
Details

The package @acrontum/filesystem-template before 0.0.2 are vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21186.json",
    "cna_assigner": "snyk"
}
References

Affected packages

Git / github.com/acrontum/filesystem-template

Affected ranges

Type
GIT
Repo
https://github.com/acrontum/filesystem-template
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:acrontum:filesystem-template:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.0.2"
        }
    ]
}

Affected versions

0.*
0.0.1

Database specific

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