Live threats

All CVEs / Rust-lang

CVE-2021-29922Rust-lang Rust

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Aug 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rust.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
rust-langrust< 1.53.0

Official sources

References

Links published by the sources. Open them with care.