Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63328?format=api",
    "purl": "pkg:maven/org.apache.archiva/archiva@1.3.2",
    "type": "maven",
    "namespace": "org.apache.archiva",
    "name": "archiva",
    "version": "1.3.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.3.4",
    "latest_non_vulnerable_version": "2.2.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44056?format=api",
            "vulnerability_id": "VCID-wz1h-4zzv-8yde",
            "summary": "Apache Archiva does not require entry of the administrator's password at the time of modifying a user account\nApache Archiva 1.0 through 1.0.3, 1.1 through 1.1.4, 1.2 through 1.2.2, and 1.3 through 1.3.1 does not require entry of the administrator's password at the time of modifying a user account, which makes it easier for context-dependent attackers to gain privileges by leveraging a (1) unattended workstation or (2) cross-site request forgery (CSRF) vulnerability, a related issue to CVE-2010-3449.",
            "references": [
                {
                    "reference_url": "https://github.com/apache/archiva",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/archiva"
                },
                {
                    "reference_url": "https://web.archive.org/web/20201209001124/http://www.securityfocus.com/archive/1/514937/100/0/threaded",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20201209001124/http://www.securityfocus.com/archive/1/514937/100/0/threaded"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2010-4408",
                    "reference_id": "CVE-2010-4408",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-4408"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5p54-jj38-3hxj",
                    "reference_id": "GHSA-5p54-jj38-3hxj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5p54-jj38-3hxj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63328?format=api",
                    "purl": "pkg:maven/org.apache.archiva/archiva@1.3.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.archiva/archiva@1.3.2"
                }
            ],
            "aliases": [
                "CVE-2010-4408",
                "GHSA-5p54-jj38-3hxj"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wz1h-4zzv-8yde"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.archiva/archiva@1.3.2"
}