Vulnerability in Golang Go
CVE-2021-29923
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.037, 90.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Public exploits and proof-of-concept code
Also mentioned in 10 other repositories (0x0806/JWT-Security-Assessment, agadecki/malware-cryptominer-container, aojea/funny-ip-etcd-detector, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- golang.org/pkg/net/ (Vendor Advisory)
- www.oracle.com/security-alerts/cpujan2022.html (Patch, Third Party Advisory)
- defcon.org/html/defcon-29/dc-29-speakers.html (Third Party Advisory)
- github.com/golang/go/issues/43389 (Third Party Advisory, Issue Tracking)
- github.com/golang/go/issues/30999 (Exploit, Third Party Advisory, Issue Tracking)
- go-review.googlesource.com/c/go/+/325829/ (Patch, Third Party Advisory)
- github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md (Exploit, Third Party Advisory)
- FEDORA-2022-17d004ed71 (vendor-advisory)
- GLSA-202208-02 (vendor-advisory, Third Party Advisory)