Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-29922: CVE-2021-29922 rust: incorrect parsing of extraneous zero characters at the beginning of an IP address string (Multiple Advisories)

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

Red Hat: CVE-2021-29922: CVE-2021-29922 rust: incorrect parsing of extraneous zero characters at the beginning of an IP address string (Multiple Advisories)

Severity
6
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:P)
Published
08/07/2021
Created
11/11/2021
Added
11/10/2021
Modified
12/15/2023

Description

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.

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-std-static-wasm32-unknown-unknown
  • 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

;