CVE-2021-29923
HIGH7.5EPSS 0.25%Published: 8/7/2021Modified: 4/28/2026
Also known as:DEBIAN-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.
Affected packages (2)
- Bitnami/golangfrom 0, < 1.17.0
- Debian/golang-1.15from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (11)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-29923
- WEBhttps://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
- WEBhttps://github.com/golang/go/issues/30999
- WEBhttps://github.com/golang/go/issues/43389
- WEBhttps://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md
- WEBhttps://golang.org/pkg/net/#ParseCIDR
- WEBhttps://go-review.googlesource.com/c/go/+/325829/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-29923
- WEBhttps://security.gentoo.org/glsa/202208-02
- WEBhttps://www.oracle.com/security-alerts/cpujan2022.html