What’s Vulnerable › Vulnerabilities

CVE-2021-29922

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 products

How to fix

Upgrade to a fixed version: rust-lang rust 1.53.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-29922 or the next vulnerability affects your stack