Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51153?format=api",
    "purl": "pkg:maven/org.apache.santuario/xmlsec@1.4.3",
    "type": "maven",
    "namespace": "org.apache.santuario",
    "name": "xmlsec",
    "version": "1.4.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.4.8",
    "latest_non_vulnerable_version": "3.0.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37376?format=api",
            "vulnerability_id": "VCID-pfcq-4wxh-ckdv",
            "summary": "XML signature HMAC truncation authentication bypass\nThis package uses a parameter that defines an HMAC truncation length (`HMACOutputLength`) but does not require a minimum for this length, which allows attackers to spoof HMAC-based signatures and bypass authentication by specifying a truncation length with a small number of bits.",
            "references": [
                {
                    "reference_url": "http://svn.apache.org/viewvc?view=revision&revision=794013",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://svn.apache.org/viewvc?view=revision&revision=794013"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/CVE-2009-0217",
                    "reference_id": "CVE-2009-0217",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/CVE-2009-0217"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51153?format=api",
                    "purl": "pkg:maven/org.apache.santuario/xmlsec@1.4.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.santuario/xmlsec@1.4.3"
                }
            ],
            "aliases": [
                "CVE-2009-0217"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pfcq-4wxh-ckdv"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.santuario/xmlsec@1.4.3"
}