Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/52790?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/52790?format=api", "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24.1", "type": "maven", "namespace": "org.apache.struts", "name": "struts2-rest-plugin", "version": "2.3.24.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.3.34", "latest_non_vulnerable_version": "6.3.0.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38150?format=api", "vulnerability_id": "VCID-npge-yn8z-6fac", "summary": "Improper Input Validation\nThe REST plugin in Apache Struts 2, allows remote attackers to execute arbitrary code via a crafted expression.", "references": [ { "reference_url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000110", "reference_id": "", "reference_type": "", "scores": [], "url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000110" }, { "reference_url": "http://jvn.jp/en/jp/JVN07710476/index.html", "reference_id": "", "reference_type": "", "scores": [], "url": "http://jvn.jp/en/jp/JVN07710476/index.html" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348238", "reference_id": "", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348238" }, { "reference_url": "https://struts.apache.org/docs/s2-037.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://struts.apache.org/docs/s2-037.html" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4438", "reference_id": "CVE-2016-4438", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4438" }, { "reference_url": "https://github.com/advisories/GHSA-4prj-vw9j-v6pr", "reference_id": "GHSA-4prj-vw9j-v6pr", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-4prj-vw9j-v6pr" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52793?format=api", "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.28.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2f37-y2q9-e7h4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.28.1" } ], "aliases": [ "CVE-2016-4438", "GHSA-4prj-vw9j-v6pr" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-npge-yn8z-6fac" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24.1" }