Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51144?format=api",
    "purl": "pkg:maven/org.springframework/spring-core@1.2.9",
    "type": "maven",
    "namespace": "org.springframework",
    "name": "spring-core",
    "version": "1.2.9",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.5.6.SEC03",
    "latest_non_vulnerable_version": "6.2.11",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37375?format=api",
            "vulnerability_id": "VCID-nsks-myf2-fugq",
            "summary": "Regular expression denial of service (ReDOS)\nAlgorithmic complexity vulnerability in this package allows remote attackers to cause a denial of service (CPU consumption) via serializable data with a long regex string containing multiple optional groups, a related issue to CVE-2004-2540.",
            "references": [
                {
                    "reference_url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-1190",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-1190"
                },
                {
                    "reference_url": "http://support.springsource.com/security/cve-2009-1190",
                    "reference_id": "CVE-2009-1190",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://support.springsource.com/security/cve-2009-1190"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51149?format=api",
                    "purl": "pkg:maven/org.springframework/spring-core@2.5.6.SEC01",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-p6yn-xbh2-3fhk"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@2.5.6.SEC01"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51150?format=api",
                    "purl": "pkg:maven/org.springframework/spring-core@3.0.1.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@3.0.1.RELEASE"
                }
            ],
            "aliases": [
                "CVE-2009-1190"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nsks-myf2-fugq"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@1.2.9"
}