Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-28878: Security patch for rust (ALAS-2022-1816)

Back to Search

Amazon Linux AMI 2: CVE-2021-28878: Security patch for rust (ALAS-2022-1816)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:N/A:P)
Published
04/11/2021
Created
09/30/2022
Added
09/30/2022
Modified
09/30/2022

Description

In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

Solution(s)

  • amazon-linux-ami-2-upgrade-cargo
  • amazon-linux-ami-2-upgrade-cargo-doc
  • amazon-linux-ami-2-upgrade-clippy
  • amazon-linux-ami-2-upgrade-rls
  • amazon-linux-ami-2-upgrade-rust
  • amazon-linux-ami-2-upgrade-rust-analysis
  • amazon-linux-ami-2-upgrade-rust-debugger-common
  • amazon-linux-ami-2-upgrade-rust-debuginfo
  • amazon-linux-ami-2-upgrade-rust-doc
  • amazon-linux-ami-2-upgrade-rust-gdb
  • amazon-linux-ami-2-upgrade-rust-src
  • amazon-linux-ami-2-upgrade-rust-std-static
  • amazon-linux-ami-2-upgrade-rustfmt

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

;