9.1

CVE-2021-29922: rust-lang rust

CVSS: 9.1v3.1CriticalModified
AliasesALPINE-CVE-2021-29922RHSA-2021:4270UBUNTU-CVE-2021-29922
Published 07-08-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-29922 is a critical (CVSS 9.1) vulnerability in rust-lang rust. EPSS estimates a 2.62% chance of exploitation in the next 30 days, higher than 85.2% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
2.62%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github

Timeline

  1. 07-08-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.62%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

0.00 pp

From 2.62% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.62%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Rust

    Maturity: poc

  • githubUnverified

    Security

    Maturity: poc

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Redhat21 products
  • cargo< 0:1.54.0-2.module+el8.5.0+12254+dc27bae9
  • cargo-debuginfo< 0:1.54.0-2.module+el8.5.0+12254+dc27bae9
  • cargo-doc< 0:1.54.0-2.module+el8.5.0+12254+dc27bae9
  • clippy< 0:1.54.0-2.module+el8.5.0+12254+dc27bae9
  • clippy-debuginfo< 0:1.54.0-2.module+el8.5.0+12254+dc27bae9
Alpine1 product
  • rust< 1.52.1-r1
Debian1 product
  • rustc< 1.53.0+dfsg1-1
Rust-lang1 product
Ubuntu1 product
  • rustcAll versions (No fix recorded) | < 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 | < 1.53.0+dfsg1+llvm-4ubuntu1

5 vendors · 25 products

References

17 links
Show all 17 references