GitHub Advisoryadvisory · PyPI
GHSA-f8m3-jpxr-hm5x bsdiff4 out-of-bounds write via patch file
HIGH
Official page ↗
- Aliases
- CVE-2020-15904
- Ecosystem
- PyPI
- Packages
- bsdiff4
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2024-02-23
Affected packages
• PyPI bsdiff4: < 1.2.0 → fixed in 1.2.0
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.
Related
Alias · CVE (1)
- CVE-2020-15904 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… vulnerability
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-15904 advisory
- https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7 web
- https://github.com/ilanschnell/bsdiff4 package
- https://github.com/ilanschnell/bsdiff4/blob/9a84c2ee01f5ba0742d18c9f3b3d5244ae7fb302/CHANGELOG.txt#L30-L31 web
- https://github.com/ilanschnell/bsdiff4/blob/master/CHANGELOG.txt web
- https://github.com/pypa/advisory-database/tree/main/vulns/bsdiff4/PYSEC-2020-30.yaml web