Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/412239?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/412239?format=api", "purl": "pkg:npm/haxe@0.1.12", "type": "npm", "namespace": "", "name": "haxe", "version": "0.1.12", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "5.0.10", "latest_non_vulnerable_version": "5.0.10", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361984?format=api", "vulnerability_id": "VCID-5h4k-3mdw-pkfs", "summary": "Downloads Resources over HTTP\nhaxe downloads zipped resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested zip file with an attacker controlled zip file if the attacker is on the network or positioned in between the user and the remote server.", "references": [ { "reference_url": "https://github.com/HaxeFoundation/npm-haxe/commit/a43b9c8d3e1532a40ad6064d1c723eda98e6df2e", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/HaxeFoundation/npm-haxe/commit/a43b9c8d3e1532a40ad6064d1c723eda98e6df2e" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/388875?format=api", "purl": "pkg:npm/haxe@5.0.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7u58-kat8-gbf7" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/haxe@5.0.2" } ], "aliases": [ "GMS-2017-97" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5h4k-3mdw-pkfs" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/203151?format=api", "vulnerability_id": "VCID-7u58-kat8-gbf7", "summary": "Downloads Resources over HTTP in haxe", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10602", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00735", "scoring_system": "epss", "scoring_elements": "0.73332", "published_at": "2026-06-12T12:55:00Z" }, { "value": "0.00735", "scoring_system": "epss", "scoring_elements": "0.73255", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.00735", "scoring_system": "epss", "scoring_elements": "0.73345", "published_at": "2026-06-14T12:55:00Z" }, { "value": "0.00735", "scoring_system": "epss", "scoring_elements": "0.73347", "published_at": "2026-06-13T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10602" }, { "reference_url": "https://github.com/HaxeFoundation/npm-haxe", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/HaxeFoundation/npm-haxe" }, { "reference_url": "https://nodesecurity.io/advisories/177", "reference_id": "", "reference_type": "", "scores": [], "url": "https://nodesecurity.io/advisories/177" }, { "reference_url": "https://www.npmjs.com/advisories/177", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/177" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10602", "reference_id": "CVE-2016-10602", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10602" }, { "reference_url": "https://github.com/advisories/GHSA-g785-775g-f2g8", "reference_id": "GHSA-g785-775g-f2g8", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-g785-775g-f2g8" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/14908?format=api", "purl": "pkg:npm/haxe@5.0.10", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/haxe@5.0.10" } ], "aliases": [ "CVE-2016-10602", "GHSA-g785-775g-f2g8" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7u58-kat8-gbf7" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/haxe@0.1.12" }