CVE-2021-29922
9.1
CRITICAL
CVSS 3.1
EPSS 0.34%
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.
How to fix CVE-2021-29922
To remediate CVE-2021-29922, upgrade the affected package to a fixed version below.
- Alpine/rust—upgrade to 1.52.1-r1 or later
- —no fix listed
Is CVE-2021-29922 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.52.1-r1
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |