CVE-2023-29409
golang: crypto/tls: slow verification of certificate chains containing large RSA keys
Overview
Description
Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-400
Affected packages · 2
Operating systems · 312 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | golang | 0:1.20.7-1.azl3 |
Oracle Linux 2 releases · 20 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-20.module+el8.9.0+90147+a4870853 |
| 8 | fuse-overlayfs | 1.13-1.module+el8.10.0+90298+77a9814d |
| 8 | crun | 1.14.3-2.module+el8.10.0+90298+77a9814d |
| 8 | oci-seccomp-bpf-hook | 1.2.10-1.module+el8.10.0+90298+77a9814d |
| 8 | slirp4netns | 1.2.3-1.module+el8.10.0+90298+77a9814d |
| 8 | runc | 1:1.1.12-1.module+el8.10.0+90298+77a9814d |
19 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.20.8-1.ph4 |
| 5.0 | go | 1.20.7-1.ph5 |
Red Hat 7 releases · 56 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| heketi +2 | eol | — | |
| go-toolset-7-golang +9 | wont fix | — | |
| 7 | buildah +9 | wont fix | — |
| 8 | grafana +17 | wont fix | — |
| 8 | crun-wasm | 0:0.0-3.rhaos4.14.el8 | RHSA-2023:5009 |
| 8 | golang-github-prometheus-promu +1 | 0:0.15.0-15.1.gitd5383c5.el8 | RHSA-2023:5009 |
110 more rows
SUSE Linux Enterprise 3 releases · 7 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | golang-github-prometheus-node-exporter | 1.5.0-1.27.2 | SUSE-SU-2023:3867-1 |
| 15.4 | go1-19 +2 | 1.19.12-150000.1.40.1 | SUSE-SU-2023:3263-1 |
| 15.4 | go1-19-openssl +2 | 1.19.13.1-150000.1.8.1 | SUSE-SU-2023:3841-1 |
| 15.4 | go1-20 +2 | 1.20.7-150000.1.20.1 | SUSE-SU-2023:3181-1 |
| 15.4 | go1-20-openssl +2 | 1.20.8.1-150000.1.11.1 | SUSE-SU-2023:3840-1 |
| 15.4 | golang-github-prometheus-node-exporter | 1.5.0-150100.3.26.2 | SUSE-SU-2023:3888-1 |
8 more rows
alma 2 releases · 20 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | toolbox +1 | 0.0.99.4-5.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | udica | 0.2.6-4.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-3.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module_el8.8.0+3468+16b86c82 |
| 8 (container-tools:4.0) | crun | 1.8.7-1.module_el8.9.0+3683+33eb0feb |
| 8 (container-tools:4.0) | fuse-overlayfs | 1.9-2.module_el8.9.0+3627+db8ec155 |
19 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.20.7-r0 |
| 3.23 | go | 1.20.7-r0 |
| 3.24 | go | 1.20.7-r0 |
| edge | go | 1.20.7-r0 |
amazon linux 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | amazon-ecr-credential-helper | 0.7.1-2.amzn2023 |
| 2023 | nerdctl | 1.1.0-1.amzn2023.0.3 |
| 2023 | cni-plugins +2 | 1.2.0-1.amzn2023.0.2 |
| 2023 | golang +6 | 1.20.7-1.amzn2023.0.1 |
| 2023 | amazon-cloudwatch-agent | 1.300026.2-1.amzn2023 |
| 2023 | containerd +4 | 1.7.2-1.amzn2023.0.3 |
3 more rows
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| go-1-21 | not affected | |
| kubeflow-katib | 0.19.0-r40 | |
| kind | 0.21.0-r0 | |
| go-1-20 | 1.20.7-r0 |
debian 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| trigger-dev | 4.5.11-r1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-19 +3 | 1.19.12-1.1 | openSUSE-SU-2024:13093-1 |
| Tumbleweed | go1-20 +3 | 1.20.7-1.1 | openSUSE-SU-2024:13094-1 |
rocky 2 releases · 19 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | udica | 0.2.6-4.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-3.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | fuse-overlayfs | 1.9-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | runc | 1:1.1.5-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | buildah +1 | 1:1.24.6-7.module+el8.9.0+1445+07728297 |
94 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
wolfi 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| go-1-21 | not affected | |
| kubeflow-katib | 0.19.0-r40 | |
| kind | 0.21.0-r0 | |
| go-1-20 | 1.20.7-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7766
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2988
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-29409
- bugzilla.redhat.com https://bugzilla.redhat.com/2228743
- bugzilla.redhat.com https://bugzilla.redhat.com/2237773
- bugzilla.redhat.com https://bugzilla.redhat.com/2237776
- bugzilla.redhat.com https://bugzilla.redhat.com/2237777
- bugzilla.redhat.com https://bugzilla.redhat.com/2237778
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1983596
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1989575
Show all 53 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132867
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132868
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132872
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2228743
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237773
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237776
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237777
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237778
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244340
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2246840
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2253193
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2253330
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2254210
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2262272
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25091
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33198
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34558
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2879
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2880
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41715
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29409
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39318
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39319
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39321
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39322
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39326
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45287
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45803
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-48795
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-23650
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-7766.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:2988
- go.dev https://go.dev/cl/515257
- go.dev https://go.dev/issue/61460
- groups.google.com https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-29409.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-2988.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-29409
- pkg.go.dev https://pkg.go.dev/vuln/GO-2023-1987
- security.gentoo.org https://security.gentoo.org/glsa/202311-09
- security.netapp.com https://security.netapp.com/advisory/ntap-20230831-0010/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-29409
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.