Back
CVE-2021-29923Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations)…
- 7.5HighCVSS base score
- 3.7%Exploitation in 30 daysEPSS · top 10.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 3.7% · top 10.0% of all CVEs (17 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
References9
- https://golang.org/pkg/net/#ParseCIDR (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/golang/go/issues/43389 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/golang/go/issues/30999 (opens in a new tab)x_refsource_MISCx_transferred
- https://go-review.googlesource.com/c/go/+/325829/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2022-17d004ed71 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- GLSA-202208-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-16397 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-29923)Record last updated .