PT-2021-6618 · Go+5 · Go+5
Published
2021-07-08
·
Updated
2024-03-06
·
CVE-2021-29923
CVSS v2.0
7.8
High
| Vector | AV: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
Affected Products
Alt Linux
Centos
Debian
Go
Red Hat
Rocky Linux