Integer Overflow or Wraparound Affecting rust-bzip2 package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.25% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-RUSTBZIP2-3228546
  • published12 Jan 2023
  • disclosed10 Jan 2023

Introduced: 10 Jan 2023

CVE-2023-22895  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 rust-bzip2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-bzip2 package and not the rust-bzip2 package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1