PT-2021-6618

CVE-2021-29923

·

Published

2021-07-08

·

Updated

2026-10-30

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions Go versions prior to 1.17
Description The issue is related to the incorrect handling of extraneous zero characters at the beginning of an IP address octet, allowing attackers to bypass access control based on IP addresses due to unexpected octal interpretation. This affects the net.ParseIP and net.ParseCIDR functions.
Recommendations For versions prior to 1.17, update to version 1.17 or later to resolve the issue. As a temporary workaround, consider restricting the use of the net.ParseIP and net.ParseCIDR functions until a patch is available.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
ALT-PU-2021-2786
ALT-PU-2022-1707
ALT-PU-2023-1205
AZL-79056
AZL-98910
BIT-GOLANG-2021-29923
CESA-2021_3585
CLEANSTART-2024-PX56958
OESA-2021-1402
RHSA-2021:3431
RHSA-2021:3585
RHSA-2021_3585
RHSA-2021:4722
RHSA-2021:4910
RHSA-2022:0237
RHSA-2022:0260
RHSA-2022:0432
RHSA-2022:0557
RHSA-2022:0988
RHSA-2022:0989
RHSA-2022:0997
RHSA-2022:0998
RHSA-2022:1276
RLSA-2021:3585
Found an issue in the description? Have something to add? Feel free to write us 👾