Vulnerability · Published Aug 7, 2021 · Assigned by mitre

CVE-2021-29922

Critical 9.1

In plain English

A critical-severity security flaw in the rust-toolset package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)2.6%top 14.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8rust-toolset1.54.0-1.module_el8.5.0+2599+d655d86cALSA-2021:4270
Alpine:v3.24chromium-rust1.52.1-r1ALPINE-CVE-2021-29922
Alpine:v3.20rust1.52.1-r1ALPINE-CVE-2021-29922
Alpine:v3.21rust1.52.1-r1ALPINE-CVE-2021-29922
Alpine:v3.22rust1.52.1-r1ALPINE-CVE-2021-29922
Alpine:v3.23rust1.52.1-r1ALPINE-CVE-2021-29922
Alpine:v3.24rust1.52.1-r1ALPINE-CVE-2021-29922
Debian:12rustc1.53.0+dfsg1-1DEBIAN-CVE-2021-29922
Debian:13rustc1.53.0+dfsg1-1DEBIAN-CVE-2021-29922
Debian:14rustc1.53.0+dfsg1-1DEBIAN-CVE-2021-29922
Rocky Linux:8rust0:1.54.0-2.module+el8.5.0+678+cf7bc64bRLSA-2021:4270
Rocky Linux:8rust-toolset0:1.54.0-1.module+el8.5.0+678+cf7bc64bRLSA-2021:4270
Ubuntu:22.04:LTSrustc1.53.0+dfsg1+llvm-4ubuntu1UBUNTU-CVE-2021-29922

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References