Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/972951?format=api",
    "purl": "pkg:apk/alpine/libgit2-1.1@0.27.4-r0?arch=armv7&distroversion=v3.16&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "libgit2-1.1",
    "version": "0.27.4-r0",
    "qualifiers": {
        "arch": "armv7",
        "distroversion": "v3.16",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.28.4-r0",
    "latest_non_vulnerable_version": "0.28.4-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9775?format=api",
            "vulnerability_id": "VCID-nq88-cr6a-17fw",
            "summary": "Out-of-bounds Read\nIn the library libgit2, which is used by pygit2, a remote attacker can send a crafted smart-protocol `ng` packet that lacks a `\\0` byte to trigger an out-of-bounds read leading to a DoS.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-15501.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-15501.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-15501",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00447",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63491",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00447",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63405",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00447",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63464",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81847",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81835",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81829",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81866",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81867",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81869",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81892",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81903",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81908",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81795",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81822",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01621",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81828",
                            "published_at": "2026-04-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-15501"
                },
                {
                    "reference_url": "https://bugzilla.suse.com/show_bug.cgi?id=1104641",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.suse.com/show_bug.cgi?id=1104641"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15501",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15501"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1615585",
                    "reference_id": "1615585",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1615585"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15501",
                    "reference_id": "CVE-2018-15501",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15501"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/972951?format=api",
                    "purl": "pkg:apk/alpine/libgit2-1.1@0.27.4-r0?arch=armv7&distroversion=v3.16&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libgit2-1.1@0.27.4-r0%3Farch=armv7&distroversion=v3.16&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2018-15501"
            ],
            "risk_score": 2.4,
            "exploitability": "0.5",
            "weighted_severity": "4.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nq88-cr6a-17fw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libgit2-1.1@0.27.4-r0%3Farch=armv7&distroversion=v3.16&reponame=community"
}