Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3470?format=api",
    "vulnerability_id": "VCID-x4uh-xenh-gqd1",
    "summary": "arbitrary code execution",
    "aliases": [
        {
            "alias": "CVE-2021-30184"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96914?format=api",
            "purl": "pkg:deb/debian/gnuchess@6.2.7-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnuchess@6.2.7-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96916?format=api",
            "purl": "pkg:deb/debian/gnuchess@6.2.7-1%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnuchess@6.2.7-1%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96912?format=api",
            "purl": "pkg:deb/debian/gnuchess@6.2.7-1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnuchess@6.2.7-1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96915?format=api",
            "purl": "pkg:deb/debian/gnuchess@6.2.9-0.1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnuchess@6.2.9-0.1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/194280?format=api",
            "purl": "pkg:ebuild/games-board/gnuchess@6.2.8-r1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/games-board/gnuchess@6.2.8-r1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1352?format=api",
            "purl": "pkg:alpm/archlinux/gnuchess@6.2.9-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x4uh-xenh-gqd1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/gnuchess@6.2.9-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30184.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30184.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30184",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00655",
                    "scoring_system": "epss",
                    "scoring_elements": "0.71337",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30184"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1947593",
            "reference_id": "1947593",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1947593"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986801",
            "reference_id": "986801",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986801"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1782",
            "reference_id": "AVG-1782",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1782"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202107-28",
            "reference_id": "GLSA-202107-28",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202107-28"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 7.8",
    "exploitability": "0.5",
    "weighted_severity": "7.0",
    "risk_score": 3.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x4uh-xenh-gqd1"
}