CVE-2021-29923
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.
Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
3.744%
chance of exploitation in the next 30 days
higher than 90% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Timeline
- 2021-08-07Published by the CNA16:38 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| golang go | before 1.17fixed in 1.17 | 1.17 |
| fedoraproject fedora | 36no fix listed | not listed |
| oracle timesten_in-memory_database | before 21.1.1.1.0fixed in 21.1.1.1.0 | 21.1.1.1.0 |
References
- https://go-review.googlesource.com/c/go/+/325829/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://golang.org/pkg/net/#ParseCIDR
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/
- https://security.gentoo.org/glsa/202208-02
- https://github.com/golang/go/issues/30999
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
- https://github.com/golang/go/issues/43389
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-29923'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-29923'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-29923'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-29923'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).