Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/240530?format=api",
    "vulnerability_id": "VCID-ad6q-uvub-77ff",
    "summary": "An issue has been discovered in GitLab affecting all versions before 13.11.6, all versions starting from 13.12 before 13.12.6, and all versions starting from 14.0 before 14.0.2. Improper access control allows unauthorised users to access project details using Graphql.",
    "aliases": [
        {
            "alias": "CVE-2021-22228"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/372024?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@14.0.3-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@14.0.3-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/372023?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@14.0.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-55tn-dhah-8fak"
                },
                {
                    "vulnerability": "VCID-64wb-wrxa-afb2"
                },
                {
                    "vulnerability": "VCID-a1z8-2fdu-1uhd"
                },
                {
                    "vulnerability": "VCID-ad6q-uvub-77ff"
                },
                {
                    "vulnerability": "VCID-ewf1-jsf4-nqe8"
                },
                {
                    "vulnerability": "VCID-j2d6-26gv-j3f9"
                },
                {
                    "vulnerability": "VCID-ktjp-pvqu-5yf7"
                },
                {
                    "vulnerability": "VCID-p3g7-kade-fqfq"
                },
                {
                    "vulnerability": "VCID-s41d-jhp9-ckae"
                },
                {
                    "vulnerability": "VCID-ye5q-51wd-53c5"
                },
                {
                    "vulnerability": "VCID-yq7h-64jj-wfcs"
                },
                {
                    "vulnerability": "VCID-yx48-ptwa-ukhh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@14.0.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22228",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45856",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45843",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45891",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45911",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45861",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45917",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45914",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45937",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45908",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45915",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45967",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45962",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00231",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45907",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22228"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-202107-18",
            "reference_id": "ASA-202107-18",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202107-18"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2125",
            "reference_id": "AVG-2125",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2125"
        }
    ],
    "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-ad6q-uvub-77ff"
}