Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51579?format=api",
    "purl": "pkg:maven/xml-security/xmlsec@1.4",
    "type": "maven",
    "namespace": "xml-security",
    "name": "xmlsec",
    "version": "1.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.4.8",
    "latest_non_vulnerable_version": "1.5.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37568?format=api",
            "vulnerability_id": "VCID-qspg-3tg3-p7ep",
            "summary": "Cryptographic Issues\nAttackers could spoof an XML Signature by using the CanonicalizationMethod parameter to specify an arbitrary weak canonicalization algorithm to apply to the `SignedInfo` part of the Signature.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2172",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2172"
                },
                {
                    "reference_url": "http://santuario.apache.org/secadv.data/CVE-2013-2172.txt.asc",
                    "reference_id": "CVE-2013-2172.TXT.ASC",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://santuario.apache.org/secadv.data/CVE-2013-2172.txt.asc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51583?format=api",
                    "purl": "pkg:maven/xml-security/xmlsec@1.4.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/xml-security/xmlsec@1.4.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51584?format=api",
                    "purl": "pkg:maven/xml-security/xmlsec@1.5.5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-dqwz-byp2-2kcb"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/xml-security/xmlsec@1.5.5"
                }
            ],
            "aliases": [
                "CVE-2013-2172"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qspg-3tg3-p7ep"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/xml-security/xmlsec@1.4"
}