VDB
CVE-2018-15501
CVE-2018-15501
PUBLISHED
CVSS 7.5 HIGH
Reported by mitre · Published August 18, 2018
pygit2 is fixed in 0.27.4 and 0.26.6 (PyPI)
In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol "ng" packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pygit2 | PyPI | 0.27.4, 0.26.6 |
| libgit2-1.1 | Alpine | 0.27.4-r0 |
| libgit2-1.0 | Alpine | 0.27.4-r0 |
Risk scores
CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | libgit2-1.1 | 0 |
| alpine | libgit2-1.0 | 0 |
| RubyGems | rugged | 0.27.0, 0 |
| n/a | n/a | * |
| PyPI | pygit2 | 0, 0.27.0 |
| alpine | libgit2 | 0 |
| alpine | libgit2-0.27 | 0 |
Timeline
- Aug 18, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-15501
vulnetix vdb fixes CVE-2018-15501
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-15501/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20180825 [SECURITY] [DLA 1477-1] libgit2 security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-15501 advisory