Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/51506?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/51506?format=api", "purl": "pkg:maven/org.apache.struts/struts2-showcase@2-alpha0", "type": "maven", "namespace": "org.apache.struts", "name": "struts2-showcase", "version": "2-alpha0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.3.14.1", "latest_non_vulnerable_version": "2.3.14.1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37551?format=api", "vulnerability_id": "VCID-447s-4ag7-gyes", "summary": "Remote command execution\nThis package allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.", "references": [ { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=967655", "reference_id": "", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=967655" }, { "reference_url": "http://struts.apache.org/development/2.x/docs/s2-012.html", "reference_id": "", "reference_type": "", "scores": [], "url": "http://struts.apache.org/development/2.x/docs/s2-012.html" }, { "reference_url": "http://struts.apache.org/docs/s2-012.html", "reference_id": "", "reference_type": "", "scores": [], "url": "http://struts.apache.org/docs/s2-012.html" }, { "reference_url": "http://www.securityfocus.com/bid/60082", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/60082" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-1965", "reference_id": "CVE-2013-1965", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-1965" }, { "reference_url": "https://github.com/advisories/GHSA-whmq-v94q-34p9", "reference_id": "GHSA-whmq-v94q-34p9", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-whmq-v94q-34p9" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/51508?format=api", "purl": "pkg:maven/org.apache.struts/struts2-showcase@2.3.14.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-showcase@2.3.14.1" } ], "aliases": [ "CVE-2013-1965", "GHSA-whmq-v94q-34p9" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-447s-4ag7-gyes" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-showcase@2-alpha0" }