Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51722?format=api",
    "purl": "pkg:maven/org.springframework/spring-web@3.2.5.RELEASE",
    "type": "maven",
    "namespace": "org.springframework",
    "name": "spring-web",
    "version": "3.2.5.RELEASE",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.2.9.RELEASE",
    "latest_non_vulnerable_version": "6.1.6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37632?format=api",
            "vulnerability_id": "VCID-7zcx-qpsn-zuem",
            "summary": "XML External Entity (XXE) injection\nThe `SourceHttpMessageConverter` in this package does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/CVE-2013-6429",
                    "reference_id": "CVE-2013-6429",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/CVE-2013-6429"
                },
                {
                    "reference_url": "http://www.gopivotal.com/security/cve-2013-6429",
                    "reference_id": "CVE-2013-6429",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.gopivotal.com/security/cve-2013-6429"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51722?format=api",
                    "purl": "pkg:maven/org.springframework/spring-web@3.2.5.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@3.2.5.RELEASE"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51714?format=api",
                    "purl": "pkg:maven/org.springframework/spring-web@4.0.0.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@4.0.0.RELEASE"
                }
            ],
            "aliases": [
                "CVE-2013-6429"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7zcx-qpsn-zuem"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@3.2.5.RELEASE"
}