CVE-2021-29922

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductRust
PublishedAug 7, 2021
First seenAug 7, 2021

How to fix

Update
  • rust-lang rust1.53.0 or later

Affected products

ProductAffected versionsFixed in
rust-lang rustv < 1.53.01.53.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-29922 · Rust · Dark Radar