CVE-2021-29922

rust: incorrect parsing of extraneous zero characters at the beginning of an IP address string

Published Aug 7, 2021 CVSS 3.1 · 9.1 Critical EPSS 2.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-16396 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 10:18 PM
Reserved
Apr 1, 2021, 12:00 AM
Status
Modified
Published
Aug 7, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:48 AM
Severity
Moderate
Public date
Mar 29, 2021, 12:00 AM