Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7170?format=api",
    "vulnerability_id": "VCID-mp3p-wjqc-v7cr",
    "summary": "multiple issues",
    "aliases": [
        {
            "alias": "CVE-2021-22257"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3811?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@14.2.2-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@14.2.2-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3810?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@14.2.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3mx3-vrr9-h3hq"
                },
                {
                    "vulnerability": "VCID-mp3p-wjqc-v7cr"
                },
                {
                    "vulnerability": "VCID-ses9-sspc-kyg3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@14.2.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22257",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00218",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44418",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22257"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2335",
            "reference_id": "AVG-2335",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2335"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mp3p-wjqc-v7cr"
}