Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/59818?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/59818?format=api", "purl": "pkg:npm/npm-lockfile@2.0.3", "type": "npm", "namespace": "", "name": "npm-lockfile", "version": "2.0.3", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.0.5", "latest_non_vulnerable_version": "2.0.5", "affected_by_vulnerabilities": [ { "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.", "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/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8", "reference_id": "", "reference_type": "", "scores": [], "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": [], "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": [], "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" } ], "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" } ], "aliases": [ "CVE-2022-0841", "GHSA-cr6m-62pq-hmqh" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c669-msb7-5kg4" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm-lockfile@2.0.3" }