CVE-2024-45341 Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509
MediumCVSS 6.1
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A certificate with a URI which has a IPv6 address with a zone ID may incorrectly satisfy a URI name constraint that applies to the certificate chain. Certificates containing URIs are not permitted in the web PKI, so this only affects users of private PKIs which make use of URIs.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stdlib(Go) | < 1.22.11 | 1.22.11 |
| stdlib(Go) | >= 1.23.0-0, < 1.23.5 | 1.23.5 |
| stdlib(Go) | >= 1.24.0-0, < 1.24.0-rc.2 | 1.24.0-rc.2 |
| cbl-mariner golang(CBL-Mariner:2.0) | < 1.18.8-5 | 1.18.8-5 |
| cbl-mariner golang(CBL-Mariner:2.0) | < 1.22.7-2 | 1.22.7-2 |
| cbl-mariner msft-golang(CBL-Mariner:2.0) | < 1.23.3-2 | 1.23.3-2 |
| azure linux golang(Azure Linux:3.0) | All versions | No fix listed |
| debian/golang-1.19(Debian:12) | All versions | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.11-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.8-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.9-1 | No fix listed |
| debian/golang-1.24(Debian:13) | < 1.24~rc2-1 | 1.24~rc2-1 |
| crypto/x509(Go) | < 1.22.11 | 1.22.11 |
| crypto/x509(Go) | >= 1.23.0-0, < 1.23.5 | 1.23.5 |
| crypto/x509(Go) | >= 1.24.0-0, < 1.24.0-rc.2 | 1.24.0-rc.2 |
| alpine/go(Alpine:v3.21) | < 1.23.5-r0 | 1.23.5-r0 |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/go(Alpine:v3.22) | < 1.23.5-r0 | 1.23.5-r0 |
| alpine/go(Alpine:v3.23) | < 1.23.5-r0 | 1.23.5-r0 |
| alpine/go(Alpine:v3.24) | < 1.23.5-r0 | 1.23.5-r0 |
| ubuntu/golang-go.crypto(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/golang-1.24(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-1.17(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.18(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.20(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.21(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.22(Ubuntu:22.04) | < 1.22.2-2~22.04.3 | 1.22.2-2~22.04.3 |
| ubuntu/golang-1.23(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.24(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.13(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-1.21(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-1.22(Ubuntu:24.04) | < 1.22.2-2ubuntu0.4 | 1.22.2-2ubuntu0.4 |
| ubuntu/golang-1.23(Ubuntu:24.04) | All versions | No fix listed |
References
- go.dev patch
- go.dev issue-tracking
- groups.google.com
- groups.google.com
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases patch vendor-advisory
- Debian Security Tracker CVE-2024-45341 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7574-1 vendor-advisory
- www.cve.org
- pkg.go.dev
- security.netapp.com
- security.alpinelinux.org vendor-advisory