GitHub Advisory Database
GHSA-96jv-r488-c2rj
bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow
Details
The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | bzip2 | All versions before 0.4.4 (fixed in 0.4.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-22895
- https://github.com/alexcrichton/bzip2-rs/pull/86
- https://github.com/alexcrichton/bzip2-rs/commit/90c9c182cd5a5ebc75810aebd89b347a7bdf590b
- https://crates.io/crates/bzip2/versions
- https://github.com/alexcrichton/bzip2-rs
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7
- https://lists.fedoraproject.org/archives/list/[email protected]/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO
- https://rustsec.org/advisories/RUSTSEC-2023-0004.html