Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5421?format=api",
    "vulnerability_id": "VCID-n3c1-am5d-xfhw",
    "summary": "arbitrary code execution",
    "aliases": [
        {
            "alias": "CVE-2021-33833"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2350?format=api",
            "purl": "pkg:alpm/archlinux/connman@1.40-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/connman@1.40-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1562?format=api",
            "purl": "pkg:alpm/archlinux/connman@1.39-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-n3c1-am5d-xfhw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/connman@1.39-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://security.archlinux.org/ASA-202106-44",
            "reference_id": "ASA-202106-44",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202106-44"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2055",
            "reference_id": "AVG-2055",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2055"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n3c1-am5d-xfhw"
}