Vulnerability Details : CVE-2021-29923
Potential exploit
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.
Products affected by CVE-2021-29923
- cpe:2.3:a:oracle:timesten_in-memory_database:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-29923
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 20 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-29923
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
References for CVE-2021-29923
-
https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
DEF CON® 29 Hacking Conference - SpeakersThird Party Advisory
-
https://github.com/golang/go/issues/30999
net: reject leading zeros in IP address parsers [freeze exception] · Issue #30999 · golang/go · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md
security/SICK-2021-016.md at master · sickcodes/security · GitHubExploit;Third Party Advisory
-
https://github.com/golang/go/issues/43389
net: limit the size of ParseIP input? · Issue #43389 · golang/go · GitHubIssue Tracking;Third Party Advisory
-
https://www.oracle.com/security-alerts/cpujan2022.html
Oracle Critical Patch Update Advisory - January 2022Patch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/
[SECURITY] Fedora 36 Update: golang-1.18~rc1-2.fc36 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://security.gentoo.org/glsa/202208-02
Go: Multiple Vulnerabilities (GLSA 202208-02) — Gentoo securityThird Party Advisory
-
https://go-review.googlesource.com/c/go/+/325829/
Patch;Third Party Advisory
-
https://golang.org/pkg/net/#ParseCIDR
net · pkg.go.devVendor Advisory
Jump to