PT-2021-6618
CVE-2021-29923
·
Published
2021-07-08
·
Updated
2026-10-30
Description by
CVSS 2.0
7.8
HighMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾