Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/240491?format=api",
    "vulnerability_id": "VCID-gwem-yat3-ebat",
    "summary": "An issue has been discovered in GitLab CE/EE affecting all versions starting from 10.6 where an infinite loop exist when an authenticated user with specific rights access a MR having source and target branch pointing to each other",
    "aliases": [
        {
            "alias": "CVE-2021-22197"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371200?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@13.10.1-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@13.10.1-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/371199?format=api",
            "purl": "pkg:alpm/archlinux/gitlab@13.9.4-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-21su-ba8v-huay"
                },
                {
                    "vulnerability": "VCID-2978-z7hp-tked"
                },
                {
                    "vulnerability": "VCID-2tqx-h18v-kbcg"
                },
                {
                    "vulnerability": "VCID-396g-fjpn-qucv"
                },
                {
                    "vulnerability": "VCID-3buj-yj37-mkbs"
                },
                {
                    "vulnerability": "VCID-gwem-yat3-ebat"
                },
                {
                    "vulnerability": "VCID-k8rh-pg4b-nubu"
                },
                {
                    "vulnerability": "VCID-ktef-sqf6-ckfp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gitlab@13.9.4-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22197",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57621",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57546",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57631",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57652",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57628",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57682",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57685",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.577",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57679",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57659",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57689",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57664",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57622",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57642",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5762",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00353",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57576",
                    "published_at": "2026-05-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22197"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1770",
            "reference_id": "AVG-1770",
            "reference_type": "",
            "scores": [
                {
                    "value": "Critical",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1770"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gwem-yat3-ebat"
}