PT-2021-6618 · Go+5 · Go+5

Published

2021-07-08

·

Updated

2024-03-06

·

CVE-2021-29923

CVSS v2.0

7.8

High

VectorAV: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.

Exploit

Fix

Improper Access Control

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-2786
ALT-PU-2022-1707
ALT-PU-2023-1205
AZL-79056
BDU:2022-01896
BIT-GOLANG-2021-29923
CESA-2021_3585
CVE-2021-29923
OESA-2021-1402
RHSA-2021:3431
RHSA-2021:3585
RHSA-2021:4722
RHSA-2021:4910
RHSA-2021_3585
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

Affected Products

Alt Linux
Centos
Debian
Go
Red Hat
Rocky Linux