high7.8
CVE-2020-15904
bsdiff4 out-of-bounds write via patch file
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | bsdiff4 | < 1.2.0 | 1.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pypi | Bsdiff4 | before 1.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ilanschnell/bsdiff4/blob/master/CHANGELOG.txt
- https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7
- https://github.com/advisories/GHSA-f8m3-jpxr-hm5x
- https://nvd.nist.gov/vuln/detail/CVE-2020-15904
- https://github.com/ilanschnell/bsdiff4/blob/9a84c2ee01f5ba0742d18c9f3b3d5244ae7fb302/CHANGELOG.txt#L30-L31
- https://github.com/pypa/advisory-database/tree/main/vulns/bsdiff4/PYSEC-2020-30.yaml