CVE-2021-29923
Last modified
CVE-2021-29923 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.17 |
| Oracle | Timesten In-Memory Database | < 21.1.1.1.0 |
| Fedoraproject | Fedora | 36 |
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://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://security.gentoo.org/glsa/202208-02Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-29923?
How severe is CVE-2021-29923?
How do I fix CVE-2021-29923?
Are you affected by CVE-2021-29923?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
