Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/54119?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/54119?format=api", "purl": "pkg:maven/org.apache.tomcat/tomcat-catalina@7.0.80", "type": "maven", "namespace": "org.apache.tomcat", "name": "tomcat-catalina", "version": "7.0.80", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "7.0.81", "latest_non_vulnerable_version": "11.0.15", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38854?format=api", "vulnerability_id": "VCID-8fn4-hnez-y3eb", "summary": "Information Exposure\nWhen using a `VirtualDirContext` with Apache Tomcat it is possible to bypass security constraints and/or view the source code of JSPs for resources served by the `VirtualDirContext` using a specially crafted request.", "references": [ { "reference_url": "http://www.securityfocus.com/bid/100897", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/100897" }, { "reference_url": "http://www.securitytracker.com/id/1039393", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securitytracker.com/id/1039393" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12616", "reference_id": "CVE-2017-12616", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12616" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54116?format=api", "purl": "pkg:maven/org.apache.tomcat/tomcat-catalina@7.0.81", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat-catalina@7.0.81" } ], "aliases": [ "CVE-2017-12616" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8fn4-hnez-y3eb" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat-catalina@7.0.80" }