CVE-2022-0841

Source
https://cve.org/CVERecord?id=CVE-2022-0841
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0841.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0841
Aliases
Published
2022-03-03T15:50:10Z
Modified
2026-07-15T01:49:03.682197195Z
Severity
  • 3.8 (Low) CVSS_V3 - CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N CVSS Calculator
Summary
OS Command Injection in ljharb/npm-lockfile
Details

OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0841.json",
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

Git / github.com/ljharb/npm-lockfile

Affected ranges

Type
GIT
Repo
https://github.com/ljharb/npm-lockfile
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "2.0.3"
        },
        {
            "last_affected": "2.0.3"
        },
        {
            "introduced": "2.0.4"
        },
        {
            "last_affected": "2.0.4"
        }
    ],
    "cpe": [
        "cpe:2.3:a:npm-lockfile_project:npm-lockfile:2.0.3:*:*:*:*:node.js:*:*",
        "cpe:2.3:a:npm-lockfile_project:npm-lockfile:2.0.4:*:*:*:*:node.js:*:*"
    ]
}

Affected versions

2.*
2.0.3
2.0.4
v2.*
v2.0.3
v2.0.4

Database specific

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