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) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.67%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 3.67% probability · 89th percentile
- CISA KEV
- Not listed
- Affected
- golang/go · oracle/timesten in-memory database · fedoraproject/fedora
- Source
- cve@mitre.org
References
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudisThird Party Advisory
- https://github.com/golang/go/issues/30999Exploit, Issue Tracking, Third Party Advisory
- https://github.com/golang/go/issues/43389Issue Tracking, Third Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.mdExploit, Third Party Advisory
- https://go-review.googlesource.com/c/go/+/325829/Patch, Third Party Advisory
- https://golang.org/pkg/net/#ParseCIDRVendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/
- https://security.gentoo.org/glsa/202208-02Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudisThird Party Advisory
- https://github.com/golang/go/issues/30999Exploit, Issue Tracking, Third Party Advisory
- https://github.com/golang/go/issues/43389Issue Tracking, Third Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.mdExploit, Third Party Advisory
- https://go-review.googlesource.com/c/go/+/325829/Patch, Third Party Advisory
- https://golang.org/pkg/net/#ParseCIDRVendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/
- https://security.gentoo.org/glsa/202208-02Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.