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.
Link | Tags |
---|---|
https://golang.org/pkg/net/#ParseCIDR | vendor advisory |
https://www.oracle.com/security-alerts/cpujan2022.html | third party advisory patch |
https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis | third party advisory |
https://github.com/golang/go/issues/43389 | third party advisory issue tracking |
https://github.com/golang/go/issues/30999 | third party advisory issue tracking exploit |
https://go-review.googlesource.com/c/go/+/325829/ | third party advisory patch |
https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md | third party advisory exploit |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/ | vendor advisory |
https://security.gentoo.org/glsa/202208-02 | third party advisory vendor advisory |