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-10-21T02:47:24Z
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
{
    "cna_assigner":  "@huntrdev",
    "cwe_ids":  [
        "CWE-78"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0841.json"
}
References

Affected packages

Git / github.com/ljharb/npm-lockfile

Affected ranges

Type
GIT
Repo
https://github.com/ljharb/npm-lockfile
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.0.3"
                },
                {
                    "last_affected":  "2.0.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "2.0.4"
                },
                {
                    "last_affected":  "2.0.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "fixed":  "bfdb84813260f0edbf759f2fde1e8c816c1478b8"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

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"