Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/42851?format=api",
    "purl": "pkg:conan/harfbuzz@2.9.0",
    "type": "conan",
    "namespace": "",
    "name": "harfbuzz",
    "version": "2.9.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "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).",
            "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"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/42852?format=api",
                    "purl": "pkg:conan/harfbuzz@3.2.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/harfbuzz@3.2.0"
                }
            ],
            "aliases": [
                "CVE-2021-45931"
            ],
            "risk_score": 2.9,
            "exploitability": "0.5",
            "weighted_severity": "5.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-actq-bfzh-2kgk"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "2.9",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/harfbuzz@2.9.0"
}