Back to search
CVE-2021-29923
Published: Aug 7, 2021
Modified: Aug 3, 2024
PUBLISHED
Description
Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
https://golang.org/pkg/net/#ParseCIDR
x_refsource_MISC
https://www.oracle.com/security-alerts/cpujan2022.html
x_refsource_MISC
https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
x_refsource_MISC
https://github.com/golang/go/issues/43389
x_refsource_MISC
https://github.com/golang/go/issues/30999
x_refsource_MISC
https://go-review.googlesource.com/c/go/+/325829/
x_refsource_MISC
FEDORA-2022-17d004ed71
vendor-advisory
x_refsource_FEDORA
GLSA-202208-02
vendor-advisory
x_refsource_GENTOO
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now