Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/30062?format=api",
    "purl": "pkg:pypi/pygit2@0.27.4",
    "type": "pypi",
    "namespace": "",
    "name": "pygit2",
    "version": "0.27.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.1.0",
    "latest_non_vulnerable_version": "1.1.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/82079?format=api",
            "vulnerability_id": "VCID-52tu-vs8k-fbfe",
            "summary": "libgit2: files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12278.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12278.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12278",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90663",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90667",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90677",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90686",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90697",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90703",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90712",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90709",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90728",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90725",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90723",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90735",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90736",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90731",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12278"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12278",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12278"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829397",
                    "reference_id": "1829397",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829397"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12278",
                    "reference_id": "CVE-2020-12278",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12278"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6678-1/",
                    "reference_id": "USN-6678-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6678-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/568962?format=api",
                    "purl": "pkg:pypi/pygit2@1.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pygit2@1.1.0"
                }
            ],
            "aliases": [
                "CVE-2020-12278",
                "GHSA-5wph-8frv-58vj"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-52tu-vs8k-fbfe"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/82080?format=api",
            "vulnerability_id": "VCID-tmtv-wcxy-sqht",
            "summary": "libgit2: NTFS protections inactive when running Git in the Windows Subsystem for Linux",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12279.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12279.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12279",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89855",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89858",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89871",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89877",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89893",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89898",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89905",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89903",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89896",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8991",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89911",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8992",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89919",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12279"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12279",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12279"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829407",
                    "reference_id": "1829407",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829407"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12279",
                    "reference_id": "CVE-2020-12279",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12279"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6678-1/",
                    "reference_id": "USN-6678-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6678-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/568962?format=api",
                    "purl": "pkg:pypi/pygit2@1.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pygit2@1.1.0"
                }
            ],
            "aliases": [
                "CVE-2020-12279",
                "GHSA-589j-mmg9-733v"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tmtv-wcxy-sqht"
        }
    ],
    "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/30062?format=api",
                    "purl": "pkg:pypi/pygit2@0.27.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-52tu-vs8k-fbfe"
                        },
                        {
                            "vulnerability": "VCID-tmtv-wcxy-sqht"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pygit2@0.27.4"
                }
            ],
            "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": "3.6",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pygit2@0.27.4"
}