Rapid7 Vulnerability & Exploit Database

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

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

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

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
04/14/2021
Created
09/30/2022
Added
09/30/2022
Modified
09/30/2022

Description

In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.

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

;