Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/53557?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/53557?format=api", "purl": "pkg:maven/org.apache.ambari/ambari-server@2.4.1", "type": "maven", "namespace": "org.apache.ambari", "name": "ambari-server", "version": "2.4.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.4.3", "latest_non_vulnerable_version": "2.7.7", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38606?format=api", "vulnerability_id": "VCID-znw5-yk6r-nuhk", "summary": "XPath Injection\nAn authorized user of the Ambari Hive View may be able to gain unauthorized read access to files on the host where the Ambari server executes.", "references": [ { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5654", "reference_id": "CVE-2017-5654", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5654" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53402?format=api", "purl": "pkg:maven/org.apache.ambari/ambari-server@2.4.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9rz2-phnw-1kca" }, { "vulnerability": "VCID-q1e4-5sjs-eqgs" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.ambari/ambari-server@2.4.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/53558?format=api", "purl": "pkg:maven/org.apache.ambari/ambari-server@2.5.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.ambari/ambari-server@2.5.1" } ], "aliases": [ "CVE-2017-5654" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-znw5-yk6r-nuhk" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.ambari/ambari-server@2.4.1" }