Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/15165?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15165?format=api", "vulnerability_id": "VCID-c669-msb7-5kg4", "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nOS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.", "aliases": [ { "alias": "CVE-2022-0841" }, { "alias": "GHSA-cr6m-62pq-hmqh" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/59820?format=api", "purl": "pkg:npm/npm-lockfile@2.0.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm-lockfile@2.0.5" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/59818?format=api", "purl": "pkg:npm/npm-lockfile@2.0.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-c669-msb7-5kg4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm-lockfile@2.0.3" }, { "url": "http://public2.vulnerablecode.io/api/packages/59819?format=api", "purl": "pkg:npm/npm-lockfile@2.0.4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-c669-msb7-5kg4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm-lockfile@2.0.4" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0841", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00461", "scoring_system": "epss", "scoring_elements": "0.64456", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0841" }, { "reference_url": "https://github.com/ljharb/npm-lockfile", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/ljharb/npm-lockfile" }, { "reference_url": "https://github.com/ljharb/npm-lockfile/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/ljharb/npm-lockfile/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8" }, { "reference_url": "https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0841", "reference_id": "CVE-2022-0841", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0841" }, { "reference_url": "https://github.com/advisories/GHSA-cr6m-62pq-hmqh", "reference_id": "GHSA-cr6m-62pq-hmqh", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-cr6m-62pq-hmqh" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 78, "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')", "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." } ], "exploits": [], "severity_range_score": "9.0 - 10.0", "exploitability": "0.5", "weighted_severity": "9.0", "risk_score": 4.5, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c669-msb7-5kg4" }