Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-28876: CVE-2021-28876 rust: panic safety issue in Zip implementation (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2021-28876: CVE-2021-28876 rust: panic safety issue in Zip implementation (Multiple Advisories)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
04/11/2021
Created
08/12/2021
Added
08/12/2021
Modified
12/15/2023

Description

In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

Solution(s)

  • redhat-upgrade-cargo
  • redhat-upgrade-cargo-debuginfo
  • redhat-upgrade-cargo-doc
  • redhat-upgrade-clippy
  • redhat-upgrade-clippy-debuginfo
  • redhat-upgrade-rls
  • redhat-upgrade-rls-debuginfo
  • redhat-upgrade-rust
  • redhat-upgrade-rust-analysis
  • redhat-upgrade-rust-debugger-common
  • redhat-upgrade-rust-debuginfo
  • redhat-upgrade-rust-debugsource
  • redhat-upgrade-rust-doc
  • redhat-upgrade-rust-gdb
  • redhat-upgrade-rust-lldb
  • redhat-upgrade-rust-src
  • redhat-upgrade-rust-std-static
  • redhat-upgrade-rust-toolset
  • redhat-upgrade-rustfmt
  • redhat-upgrade-rustfmt-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;