Low
OS Command Injection in ljharb/npm-lockfile
Type: advisorySources: OSV
OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-0841
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:13 UTC · Revision 1
Source evidence
OS Command Injection in ljharb/npm-lockfile
core-osv · Original sourcePublished 3 Mar 2022, 15:50 UTC
OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.
osv:CVE-2022-0841
Complete source record
{
"id": "a0095345261b0d4ae0a333fb206a4ad177b56138ce20e3d7c4ab605513b54b8f",
"url": "https://osv.dev/vulnerability/CVE-2022-0841",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OS Command Injection in ljharb/npm-lockfile",
"summary": "OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.",
"evidence": "osv:CVE-2022-0841",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2022-0841",
"aliases": [
"CVE-2022-0841",
"GHSA-cr6m-62pq-hmqh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ljharb/npm-lockfile",
"type": "GIT",
"events": [
{
"introduced": "fc56cd3f6172cf85f087181189a5fcf5f4906595"
},
{
"fixed": "bfdb84813260f0edbf759f2fde1e8c816c1478b8"
}
],
"database_specific": {
"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"
}
]
}
}
],
"versions": [
"2.0.3",
"2.0.4",
"v2.0.4",
"v2.0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0841.json"
}
}
],
"modified": "2026-10-28T02:30:38.155204285Z",
"provider": "osv",
"references": [
"https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0841.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-0841",
"https://github.com/ljharb/npm-lockfile/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "@huntrdev",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0841.json"
}
},
"related_cves": [
{
"value": "CVE-2022-0841",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505615,
"published_at": "2022-03-03T15:50:10+00:00"
}