Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/802322?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/802322?format=api", "purl": "pkg:npm/module-from-string@3.1.2", "type": "npm", "namespace": "", "name": "module-from-string", "version": "3.1.2", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56604?format=api", "vulnerability_id": "VCID-x11t-8ajn-xbct", "summary": "module-from-string prototype pollution\nA prototype pollution in the lib.requireFromString function of module-from-string v3.3.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-57072", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0007", "scoring_system": "epss", "scoring_elements": "0.21456", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.0007", "scoring_system": "epss", "scoring_elements": "0.21565", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.0007", "scoring_system": "epss", "scoring_elements": "0.21552", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.0007", "scoring_system": "epss", "scoring_elements": "0.21505", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.0007", "scoring_system": "epss", "scoring_elements": "0.21446", "published_at": "2026-06-08T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-57072" }, { "reference_url": "https://gist.github.com/tariqhawis/8b1fe301dd1ea52952cef347daddee67", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://gist.github.com/tariqhawis/8b1fe301dd1ea52952cef347daddee67" }, { "reference_url": "https://github.com/exuanbo/module-from-string", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/exuanbo/module-from-string" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-57072", "reference_id": "CVE-2024-57072", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-57072" }, { "reference_url": "https://github.com/advisories/GHSA-q5j8-9m9g-x2jh", "reference_id": "GHSA-q5j8-9m9g-x2jh", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-q5j8-9m9g-x2jh" } ], "fixed_packages": [], "aliases": [ "CVE-2024-57072", "GHSA-q5j8-9m9g-x2jh" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x11t-8ajn-xbct" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/module-from-string@3.1.2" }