CVE Vulnerabilities

CVE-2021-29922

Published: Aug 07, 2021 | Modified: Nov 21, 2024
CVSS 3.x
9.1
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
6.4 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:P
RedHat/V2
RedHat/V3
7.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM

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.

Affected Software

Name Vendor Start Version End Version
Rust Rust-lang * 1.53.0 (excluding)
Red Hat Enterprise Linux 8 RedHat rust-toolset:rhel8-8050020210817185544.f73640c0 *
Rustc Ubuntu bionic *
Rustc Ubuntu esm-apps/xenial *
Rustc Ubuntu esm-infra-legacy/trusty *
Rustc Ubuntu focal *
Rustc Ubuntu groovy *
Rustc Ubuntu hirsute *
Rustc Ubuntu impish *
Rustc Ubuntu jammy *
Rustc Ubuntu kinetic *
Rustc Ubuntu trusty *
Rustc Ubuntu trusty/esm *
Rustc Ubuntu upstream *
Rustc Ubuntu xenial *

References