Read the docs
TI-2021-10544 Aliases CVE-2021-29922GHSA-g9v3-gh27-qjh3

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous…

Priority MEDIUM 44Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.02623 85th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*before 1.53.0Vulnerablerust-lang
  • cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* Versions before 1.53.0 Vulnerable ·rust-lang

Remediation

Red Hat 1 advisory

  • RHSA-2021:4270 Released 2021-11-09 · Red Hat rating Moderate
    rust-toolset:rhel8 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) cargo-1.54.0-2.module+el8.5.0+12254+dc27bae9.aarch64::rust-toolset:rhel8, cargo-1.54.0-2.module+el8.5.0+12254+dc27bae9.ppc64le::rust-toolset:rhel8, cargo-1.54.0-2.module+el8.5.0+12254+dc27bae9.s390x::rust-toolset:rhel8 +43

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2021:4270
Not affected: 1 product
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-29922
  2. 2026-10-03 Alias added: GHSA-g9v3-gh27-qjh3

References

  • TI-2024-16197 Rusts's `std::process::Command` did not properly escape arguments of batch files on Windows CVSS 3.1CRITICAL 10.0
  • TI-2024-03325 Command injection vulnerability in programing languages on Microsoft Windows operating system. CVSS 3.1CRITICAL 9.8
  • TI-2022-06036 Race condition in std::fs::remove_dir_all in rustlang CVSS 3.1HIGH 7.3
  • TI-2018-16034 The Rust Programming Language Standard Library version 1.29.0, 1.28.0, 1.27.2, 1.27.1… CVSS 3.0CRITICAL 9.8
  • TI-2021-11383 In the standard library in Rust before 1.52.0, a double free can occur in the… CVSS 3.1CRITICAL 9.8
  • TI-2021-09849 In the standard library in Rust before 1.52.0, the Zip implementation can report an… CVSS 3.1CRITICAL 9.8
See all 23 →

Sources