VDB

CVE-2021-29922

CVE-2021-29922 PUBLISHED

Reported by mitre · Published August 7, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rustAlpine1.52.1-r1
chromium-rustAlpine1.52.1-r1
rustArch Linux1.53.0-1
rustcUbuntu:22.04:LTS1.53.0+dfsg1+llvm-4ubuntu1
rustrust-lang1.53.0
rustcUbuntu:20.04:LTS1.53.0+dfsg1+llvm-4ubuntu1~20.04.1

Affected products

VendorProductVersions
n/an/an/a
alpinerust0
alpinechromium-rust0
archrust0
n/an/a*

Timeline

  • Aug 7, 2021 CVE Published
  • Aug 8, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (44 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (39 in total, the first dated here)
  • Jun 28, 2026 CVE Updated
  • Aug 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-29922
vulnetix vdb fixes CVE-2021-29922

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29922/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›