Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/56367?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/56367?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/52547?format=api", "vulnerability_id": "VCID-hpmv-gwc4-xqe8", "summary": "Improper Input Validation\nAn issue was discovered in libgit2, which is used by pygit2 package: `path.c` mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository.", "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.90863", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.06011", "scoring_system": "epss", "scoring_elements": "0.90877", "published_at": "2026-06-05T12: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/77155?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-hpmv-gwc4-xqe8" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52548?format=api", "vulnerability_id": "VCID-n9sk-5nq5-a7gs", "summary": "Improper Input Validation\nAn issue was discovered in libgit2, which is used by pygit2 package: `checkout.c` mishandles equivalent filenames that exist because of NTFS short names.", "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.90064", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.05164", "scoring_system": "epss", "scoring_elements": "0.9008", "published_at": "2026-06-05T12: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/77155?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-n9sk-5nq5-a7gs" } ], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40185?format=api", "vulnerability_id": "VCID-2uh4-gskr-fqhp", "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.02924", "scoring_system": "epss", "scoring_elements": "0.86667", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.02924", "scoring_system": "epss", "scoring_elements": "0.8669", "published_at": "2026-06-05T12: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/56367?format=api", "purl": "pkg:pypi/pygit2@0.27.4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-hpmv-gwc4-xqe8" }, { "vulnerability": "VCID-n9sk-5nq5-a7gs" } ], "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-2uh4-gskr-fqhp" } ], "risk_score": "3.6", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pygit2@0.27.4" }