ilanschnell/bsdiff4 · Security
bsdiff4 out-of-bounds write via patch file
- GHSA ID
- GHSA-f8m3-jpxr-hm5x
- CVE ID
- CVE-2020-15904
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v4
- 8.5 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
A buffer overflow in the patching routine of bsdiff4 before 1.2.0 allows an attacker to write to heap memory (beyond allocated bounds) via a crafted patch file.
CWEs
- CWE-787 · Out-of-bounds Write
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-15904 ↗
- https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7 ↗
- https://github.com/ilanschnell/bsdiff4/blob/9a84c2ee01f5ba0742d18c9f3b3d5244ae7fb302/CHANGELOG.txt#L30-L31 ↗
- https://github.com/ilanschnell/bsdiff4/blob/master/CHANGELOG.txt ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/bsdiff4/PYSEC-2020-30.yaml ↗
- https://github.com/advisories/GHSA-f8m3-jpxr-hm5x ↗