Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5464?format=api",
    "vulnerability_id": "VCID-9byv-utef-ybfd",
    "summary": "arbitrary code execution",
    "aliases": [
        {
            "alias": "CVE-2021-28473"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2363?format=api",
            "purl": "pkg:alpm/archlinux/code@1.56.2-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/code@1.56.2-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2362?format=api",
            "purl": "pkg:alpm/archlinux/code@1.55.2-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3maw-d64v-hyag"
                },
                {
                    "vulnerability": "VCID-4mvf-b9j6-e3by"
                },
                {
                    "vulnerability": "VCID-6h7b-wwje-muc8"
                },
                {
                    "vulnerability": "VCID-9byv-utef-ybfd"
                },
                {
                    "vulnerability": "VCID-hha2-2z9m-hqe6"
                },
                {
                    "vulnerability": "VCID-w2ev-aja3-jkdh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/code@1.55.2-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28473",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.09313",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92906",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28473"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1819",
            "reference_id": "AVG-1819",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1819"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9byv-utef-ybfd"
}