Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80624?format=api",
    "vulnerability_id": "VCID-y3b5-9fv7-vyd2",
    "summary": "libgcrypt: Heap buffer overflow in the block buffer management code",
    "aliases": [
        {
            "alias": "CVE-2021-3345"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371217?format=api",
            "purl": "pkg:alpm/archlinux/libgcrypt@1.9.1-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libgcrypt@1.9.1-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/927383?format=api",
            "purl": "pkg:deb/debian/libgcrypt20@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgcrypt20@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/927372?format=api",
            "purl": "pkg:deb/debian/libgcrypt20@1.8.7-6?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qxvk-tsv9-9bf3"
                },
                {
                    "vulnerability": "VCID-ym4a-3eek-9qch"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgcrypt20@1.8.7-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/927370?format=api",
            "purl": "pkg:deb/debian/libgcrypt20@1.10.1-3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qxvk-tsv9-9bf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgcrypt20@1.10.1-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/927374?format=api",
            "purl": "pkg:deb/debian/libgcrypt20@1.11.0-7?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qxvk-tsv9-9bf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgcrypt20@1.11.0-7%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/927373?format=api",
            "purl": "pkg:deb/debian/libgcrypt20@1.12.1-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cg9t-tsfn-3fb8"
                },
                {
                    "vulnerability": "VCID-qxvk-tsv9-9bf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgcrypt20@1.12.1-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1076082?format=api",
            "purl": "pkg:deb/debian/libgcrypt20@1.12.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libgcrypt20@1.12.2-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371216?format=api",
            "purl": "pkg:alpm/archlinux/libgcrypt@1.9.0-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-y3b5-9fv7-vyd2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libgcrypt@1.9.0-2"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3345.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3345.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3345",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9038",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90383",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90395",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90399",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90413",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9042",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90428",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90427",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90435",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90433",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90447",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90446",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90443",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90454",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.05706",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90472",
                    "published_at": "2026-05-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3345"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1923210",
            "reference_id": "1923210",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1923210"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981370",
            "reference_id": "981370",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981370"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-202101-45",
            "reference_id": "ASA-202101-45",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202101-45"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1505",
            "reference_id": "AVG-1505",
            "reference_type": "",
            "scores": [
                {
                    "value": "Critical",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1505"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 191,
            "name": "Integer Underflow (Wrap or Wraparound)",
            "description": "The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result."
        },
        {
            "cwe_id": 122,
            "name": "Heap-based Buffer Overflow",
            "description": "A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc()."
        },
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "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-y3b5-9fv7-vyd2"
}