Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/240566?format=api",
    "vulnerability_id": "VCID-p14q-utts-57fn",
    "summary": "A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers",
    "aliases": [
        {
            "alias": "CVE-2021-22252"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923256?format=api",
            "purl": "pkg:deb/debian/gitlab@0?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gitlab@0%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": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22252",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50053",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50088",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50115",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50065",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50119",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50113",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5013",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50103",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.501",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50145",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50117",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50104",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50109",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50063",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.49981",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50036",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50064",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50017",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00266",
                    "scoring_system": "epss",
                    "scoring_elements": "0.50047",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22252"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p14q-utts-57fn"
}