# 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) al…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.74%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-08-07T16:38:59.000Z
- Modified: 2026-09-08T08:47:47.651Z
- Also known as: BIT-GOLANG-2021-29923
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- golang go: before 1.17
- oracle timesten_in-memory_database: before 21.1.1.1.0
- fedoraproject fedora: 36
- golang (Bitnami): before 1.17.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/golang/go/issues/30999> (exploit, advisory, issue-tracking, third-party-advisory)
- <https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md> (exploit, advisory, third-party-advisory)
- <https://golang.org/pkg/net/#ParseCIDR> (advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (advisory, patch, third-party-advisory)
- <https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis> (advisory, third-party-advisory)
- <https://github.com/golang/go/issues/43389> (advisory, issue-tracking, third-party-advisory)
- <https://go-review.googlesource.com/c/go/+/325829/> (advisory, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202208-02> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29923> (web)

## Sources

- CVE List: [CVE-2021-29923](https://www.cve.org/CVERecord?id=CVE-2021-29923), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-29923](https://nvd.nist.gov/vuln/detail/CVE-2021-29923), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2021-29923](https://osv.dev/vulnerability/BIT-GOLANG-2021-29923), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-29923 · Whole record: https://cve.day/CVE-2021-29923.json · Rebuilt by cve.day 2026-11-25T22:58:03.049Z
