Lookup for vulnerable packages by Package URL.

GET /api/packages/53478?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/53478?format=api",
    "purl": "pkg:maven/log4j/log4j@2.4.1",
    "type": "maven",
    "namespace": "log4j",
    "name": "log4j",
    "version": "2.4.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.8.2",
    "latest_non_vulnerable_version": "2.8.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38549?format=api",
            "vulnerability_id": "VCID-bubv-9mb8-2bgh",
            "summary": "Socket receiver deserialization vulnerability\nWhen using the TCP socket server or UDP socket server to receive serialized log events from another application, a specially crafted binary payload can be sent that, when deserialized, can execute arbitrary code.",
            "references": [
                {
                    "reference_url": "https://issues.apache.org/jira/browse/LOG4J2-1863",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/LOG4J2-1863"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/97702",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/97702"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1040200",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1040200"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1041294",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1041294"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5645",
                    "reference_id": "CVE-2017-5645",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5645"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53483?format=api",
                    "purl": "pkg:maven/log4j/log4j@2.8.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/log4j/log4j@2.8.2"
                }
            ],
            "aliases": [
                "CVE-2017-5645"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bubv-9mb8-2bgh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/log4j/log4j@2.4.1"
}