Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/51745?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/51745?format=api", "purl": "pkg:composer/zendframework/zend-xmlrpc@2.2.0", "type": "composer", "namespace": "zendframework", "name": "zend-xmlrpc", "version": "2.2.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.1.6", "latest_non_vulnerable_version": "2.2.6", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37640?format=api", "vulnerability_id": "VCID-grk8-aj34-hqb4", "summary": "Improper Restriction of XML External Entity Reference\nPotential XXE/XEE attacks using PHP functions: `simplexml_load_*`, `DOMDocument::loadXML`, and `xml_parse`.", "references": [ { "reference_url": "https://framework.zend.com/security/advisory/ZF2014-01", "reference_id": "", "reference_type": "", "scores": [], "url": "https://framework.zend.com/security/advisory/ZF2014-01" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/51747?format=api", "purl": "pkg:composer/zendframework/zend-xmlrpc@2.2.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zend-xmlrpc@2.2.6" } ], "aliases": [ "ZF2014-01" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-grk8-aj34-hqb4" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zend-xmlrpc@2.2.0" }