Advisory

GHSA-96jv-r488-c2rj

Also known as: CVE-2023-22895, RUSTSEC-2023-0004

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-01-10 03:30 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

bzip2

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.4 (semver)

Fixed versions

0.4.4

Fix

  • Fixed version 0.4.4
    cargo update -p bzip2 --precise 0.4.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences