CVE-2021-29923
golang: net: incorrect parsing of extraneous zero characters at the beginning of an IP address octet
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 22, 2021
Updated · June 30, 2026
Description
A flaw was found in golang. Extraneous zero characters at the beginning of an IP address octet are not properly considered which could allow an attacker to bypass IP-based access controls. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Statement
This vulnerability potentially affects any component written in Go that uses the net standard library and ParseIP / ParseCIDR functions. There are components which might not use these functions or might use them to parse IP addresses and not manage them in any way (only store information about the ip address) . This reduces the severity of this vulnerability to Low for the following offerings:
- OpenShift distributed tracing (formerly OpenShift Jaeger)
- OpenShift Migration Toolkit for Containers
- OpenShift Container Platform
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE-20 · Improper Input Validation