Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61897?format=api",
    "purl": "pkg:maven/org.apache.tomcat/tomcat@6.0.19",
    "type": "maven",
    "namespace": "org.apache.tomcat",
    "name": "tomcat",
    "version": "6.0.19",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "6.0.24",
    "latest_non_vulnerable_version": "11.0.18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43223?format=api",
            "vulnerability_id": "VCID-crhe-rt8j-wycu",
            "summary": "Exposure of Sensitive Information to an Unauthorized Actor\nApache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18, when FORM authentication is used, allows remote attackers to enumerate valid usernames via requests to /j_security_check with malformed URL encoding of passwords, related to improper error checking in the (1) MemoryRealm, (2) DataSourceRealm, and (3) JDBCRealm authentication realms, as demonstrated by a % (percent) value for the j_password parameter.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2009-0580",
                    "reference_id": "CVE-2009-0580",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-0580"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-w227-xcfx-3pj8",
                    "reference_id": "GHSA-w227-xcfx-3pj8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-w227-xcfx-3pj8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61729?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@4.1.40",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-w632-npc7-h7hs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@4.1.40"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61837?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@5.5.28",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9j31-459b-4qbm"
                        },
                        {
                            "vulnerability": "VCID-eawm-8v9w-yfap"
                        },
                        {
                            "vulnerability": "VCID-y9yv-u4jh-mqew"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@5.5.28"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61897?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@6.0.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@6.0.19"
                }
            ],
            "aliases": [
                "CVE-2009-0580",
                "GHSA-w227-xcfx-3pj8"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-crhe-rt8j-wycu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@6.0.19"
}