7.5high
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
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 3.74% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-GOLANG-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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| golang go | before 1.17 | NVD |
| oracle timesten_in-memory_database | before 21.1.1.1.0 | NVD |
| fedoraproject fedora | 36 | NVD |
| golang (Bitnami) | before 1.17.0 | Bitnami Vulnerability Database |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
What each source says
CVE List
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.
NVD (es)
Go versiones anteriores a 1.17, no considera apropiadamente los caracteres cero extraños al principio de un octeto de dirección IP, lo que (en algunas situaciones) permite a atacantes omitir el control de acceso que es basado en las direcciones IP, debido a una interpretación octal inesperada. Esto afecta a net.ParseIP y net.ParseCIDR
References
| 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://github.com/golang/go/issues/30999 | advisory, exploit, issue-tracking, third-party-advisory | |
| https://go-review.googlesource.com/c/go/+/325829/ | advisory, patch, third-party-advisory | |
| https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md | advisory, exploit, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29923 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-29923 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2021-29923 changed 2026-09-08 | Apache-2.0 |