Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53582?format=api",
    "purl": "pkg:maven/org.springframework.security/spring-security-ldap@3.1",
    "type": "maven",
    "namespace": "org.springframework.security",
    "name": "spring-security-ldap",
    "version": "3.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.2.2.RELEASE",
    "latest_non_vulnerable_version": "3.2.2.RELEASE",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38627?format=api",
            "vulnerability_id": "VCID-h197-qg16-4ug5",
            "summary": "Improper Authentication\nThe `ActiveDirectoryLdapAuthenticator` does not check the password length. If the directory allows anonymous binds then it may incorrectly authenticate a user who supplies an empty password.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/CVE-2014-0097",
                    "reference_id": "CVE-2014-0097",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/CVE-2014-0097"
                },
                {
                    "reference_url": "http://www.gopivotal.com/security/cve-2014-0097",
                    "reference_id": "CVE-2014-0097",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.gopivotal.com/security/cve-2014-0097"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53584?format=api",
                    "purl": "pkg:maven/org.springframework.security/spring-security-ldap@3.2.2.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-ldap@3.2.2.RELEASE"
                }
            ],
            "aliases": [
                "CVE-2014-0097"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h197-qg16-4ug5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-ldap@3.1"
}