Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/240444?format=api",
    "vulnerability_id": "VCID-b1et-bsq2-cyfn",
    "summary": "An issue has been discovered in GitLab affecting all versions starting from 12.1. Incorrect headers in specific project page allows attacker to have a temporary read access to the private repository",
    "aliases": [
        {
            "alias": "CVE-2021-22167"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/372226?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@13.7.2-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@13.7.2-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923289?format=api",
            "purl": "pkg:deb/debian/gitlab@15.10.8%2Bds1-2?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gitlab@15.10.8%252Bds1-2%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923255?format=api",
            "purl": "pkg:deb/debian/gitlab@17.6.5-19?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gitlab@17.6.5-19%3Fdistro=sid"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/372225?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@13.7.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5wbt-x41a-e7bs"
                },
                {
                    "vulnerability": "VCID-7fnb-yfbq-bfeh"
                },
                {
                    "vulnerability": "VCID-b1et-bsq2-cyfn"
                },
                {
                    "vulnerability": "VCID-hrbv-6bwd-a3hz"
                },
                {
                    "vulnerability": "VCID-myew-c4zd-u3cw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@13.7.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22167",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.47983",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.47985",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48023",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48044",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.47994",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48047",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4804",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48065",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48041",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48053",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48105",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.481",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48056",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48037",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48049",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.47997",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00248",
                    "scoring_system": "epss",
                    "scoring_elements": "0.47916",
                    "published_at": "2026-05-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22167"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-202101-10",
            "reference_id": "ASA-202101-10",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202101-10"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1416",
            "reference_id": "AVG-1416",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1416"
        }
    ],
    "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-b1et-bsq2-cyfn"
}