Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11933?format=api",
    "vulnerability_id": "VCID-actq-bfzh-2kgk",
    "summary": "Out-of-bounds Write\nHarfBuzz has an out-of-bounds write in hb_bit_set_invertible_t::set (called from hb_sparseset_t<hb_bit_set_invertible_t>::set and hb_set_copy).",
    "aliases": [
        {
            "alias": "CVE-2021-45931"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/924788?format=api",
            "purl": "pkg:deb/debian/harfbuzz@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/harfbuzz@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/924785?format=api",
            "purl": "pkg:deb/debian/harfbuzz@2.7.4-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6bw4-j3xa-d3g4"
                },
                {
                    "vulnerability": "VCID-rjd7-a91f-vkhs"
                },
                {
                    "vulnerability": "VCID-zzcp-hvdf-zqgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/harfbuzz@2.7.4-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/924783?format=api",
            "purl": "pkg:deb/debian/harfbuzz@6.0.0%2Bdfsg-3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rjd7-a91f-vkhs"
                },
                {
                    "vulnerability": "VCID-zzcp-hvdf-zqgf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/harfbuzz@6.0.0%252Bdfsg-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/924787?format=api",
            "purl": "pkg:deb/debian/harfbuzz@10.2.0-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rjd7-a91f-vkhs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/harfbuzz@10.2.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/924786?format=api",
            "purl": "pkg:deb/debian/harfbuzz@12.3.2-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/harfbuzz@12.3.2-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74465?format=api",
            "purl": "pkg:ebuild/media-libs/harfbuzz@4.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/media-libs/harfbuzz@4.4.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/42851?format=api",
            "purl": "pkg:conan/harfbuzz@2.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-actq-bfzh-2kgk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/harfbuzz@2.9.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-45931.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-45931.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45931",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73448",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73457",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73479",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73451",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73488",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73501",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73525",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73506",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73498",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73541",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73551",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73545",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73578",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73589",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73588",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7358",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73605",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73628",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73612",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00769",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7367",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45931"
        },
        {
            "reference_url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37425",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37425"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/harfbuzz/OSV-2021-1159.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/harfbuzz/OSV-2021-1159.yaml"
        },
        {
            "reference_url": "https://github.com/harfbuzz/harfbuzz/commit/d3e09bf4654fe5478b6dbf2b26ebab6271317d81",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/harfbuzz/harfbuzz/commit/d3e09bf4654fe5478b6dbf2b26ebab6271317d81"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2036820",
            "reference_id": "2036820",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2036820"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45931",
            "reference_id": "CVE-2021-45931",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45931"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202209-11",
            "reference_id": "GLSA-202209-11",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202209-11"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.3 - 7.5",
    "exploitability": "0.5",
    "weighted_severity": "5.7",
    "risk_score": 2.9,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-actq-bfzh-2kgk"
}