CVE-2024-34155
go/parser: golang: Calling any of the Parse functions containing deeply nested literals can cause a panic/stack exhaustion
Overview
Description
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Affected packages · 2
Operating systems · 1,106 fixes
Oracle Linux 2 releases · 22 packages
fixed 25
udica
fuse-overlayfs
crun
oci-seccomp-bpf-hook
slirp4netns
go-toolset
+16
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-21.module+el8.10.0+90416+5b0f6a17 |
| 8 | fuse-overlayfs | 1.13-1.module+el8.10.0+90416+5b0f6a17 |
| 8 | crun | 1.14.3-2.module+el8.10.0+90416+5b0f6a17 |
| 8 | oci-seccomp-bpf-hook | 1.2.10-1.module+el8.10.0+90416+5b0f6a17 |
| 8 | slirp4netns | 1.2.3-1.module+el8.10.0+90416+5b0f6a17 |
| 8 | go-toolset | 1.21.13-1.module+el8.10.0+90407+20770c94 |
19 more rows
Photon OS 1 release · 1 package
fixed 1
go
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.26.3-1.ph5 |
Red Hat 6 releases · 35 packages
eol 1
wont fix 3
fixed 85
golang
golang-github-prometheus-promu
osbuild-composer
cri-o
cri-tools
haproxy22
+29
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| golang +10 | eol | — | |
| 7 | golang-github-prometheus-promu | wont fix | — |
| 8 | osbuild-composer +3 | wont fix | — |
| 8 | cri-o | 0:1.25.5-30.rhaos4.12.git53dc492.el8 | RHSA-2024:8694 |
| 8 | cri-tools | 0:1.26.0-7.el8 | RHSA-2024:8690 |
| 8 | cri-o | 0:1.26.5-26.rhaos4.13.giteb3d487.el8 | RHSA-2024:8690 |
83 more rows
SUSE Linux Enterprise 4 releases · 10 packages
fixed 25
go1-22
go1-23
kubernetes1-24-client
kubernetes1-25-client
kubernetes1-26-client
kubernetes1-27-client
+4
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | go1-22 +1 | 1.22.7-1.21.1 | SUSE-SU-2024:3196-1 |
| 12.5 | go1-23 +1 | 1.23.1-1.6.1 | SUSE-SU-2024:3197-1 |
| 15.4 | kubernetes1-24-client +1 | 1.24.17-150400.9.18.1 | SUSE-SU-2024:3458-1 |
| 15.4 | kubernetes1-25-client +1 | 1.25.16-150400.9.18.1 | SUSE-SU-2024:3457-1 |
| 15.4 | kubernetes1-26-client +1 | 1.26.15-150400.9.16.1 | SUSE-SU-2024:3456-1 |
| 15.4 | kubernetes1-27-client +1 | 1.27.16-150400.9.12.1 | SUSE-SU-2024:3455-1 |
19 more rows
alma 3 releases · 31 packages
fixed 34
toolbox
toolbox-tests
udica
fuse-overlayfs
crun
oci-seccomp-bpf-hook
+25
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:rhel8) | toolbox | 0.0.99.5-2.module_el8.10.0+3845+87b84552 |
| 8 (container-tools:rhel8) | toolbox-tests | 0.0.99.5-2.module_el8.10.0+3901+4b80ecd7 |
| 8 (container-tools:rhel8) | udica | 0.2.6-21.module_el8.10.0+3876+e55593a8 |
| 8 (container-tools:rhel8) | fuse-overlayfs | 1.13-1.module_el8.10.0+3792+03eaed9c |
| 8 (container-tools:rhel8) | crun | 1.14.3-2.module_el8.10.0+3876+e55593a8 |
| 8 (container-tools:rhel8) | oci-seccomp-bpf-hook | 1.2.10-1.module_el8.10.0+3876+e55593a8 |
28 more rows
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.23.1-r0 |
| 3.23 | go | 1.23.1-r0 |
| 3.24 | go | 1.23.1-r0 |
| edge | go | 1.23.1-r0 |
amazon linux 1 release · 2 packages
fixed 2
golang
amazon-cloudwatch-agent
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +6 | 1.22.7-1.amzn2023.0.1 |
| 2023 | amazon-cloudwatch-agent | 1.300052.1-1.amzn2023 |
chainguard 1 release · 508 packages
not affected 1
fixed 507
go-1-20
harbor-cli
stakater-reloader-0-0-119
stakater-reloader-0-0-128
pombump
gke-gcloud-auth-plugin
+502
| Release | Package | Fixed in |
|---|---|---|
| go-1-20 | not affected | |
| harbor-cli | 0.0.1-r5 | |
| stakater-reloader-0-0-119 | 0.0.119-r13 | |
| stakater-reloader-0-0-128 | 0.0.128-r12 | |
| pombump | 0.0.13-r2 | |
| gke-gcloud-auth-plugin | 0.0.2-r13 |
502 more rows
debian 3 releases · 3 packages
affected 2
fixed 1
golang-1-15
golang-1-19
golang-1-23
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
| 13 | golang-1-23 | 1.23.1-1 |
echo 1 release · 2 packages
affected 1
fixed 1
golang-1-19
golang-1-23
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected | |
| golang-1-23 | 1.23.1 |
minimos 1 release · 1 package
fixed 1
solr-operator-0-8
| Release | Package | Fixed in |
|---|---|---|
| solr-operator-0-8 | 0.8.1-r1 |
openSUSE 1 release · 3 packages
fixed 3
trivy
go1-22
go1-23
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | trivy | 0.56.1-1.1 | openSUSE-SU-2024:14392-1 |
| Tumbleweed | go1-22 +3 | 1.22.7-1.1 | openSUSE-SU-2024:14323-1 |
| Tumbleweed | go1-23 +3 | 1.23.1-1.1 | openSUSE-SU-2024:14324-1 |
rocky 3 releases · 23 packages
fixed 25
toolbox
udica
fuse-overlayfs
crun
oci-seccomp-bpf-hook
slirp4netns
+17
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:rhel8) | toolbox +1 | 0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2 |
| 8 (container-tools:rhel8) | udica | 0.2.6-21.module+el8.10.0+1815+5fe7415e |
| 8 (container-tools:rhel8) | fuse-overlayfs | 1.13-1.module+el8.10.0+1815+5fe7415e |
| 8 (container-tools:rhel8) | crun | 1.14.3-2.module+el8.10.0+1815+5fe7415e |
| 8 (container-tools:rhel8) | oci-seccomp-bpf-hook | 1.2.10-1.module+el8.10.0+1815+5fe7415e |
| 8 (container-tools:rhel8) | slirp4netns | 1.2.3-1.module+el8.10.0+1815+5fe7415e |
19 more rows
root.io debian 1 release · 1 package
affected 1
rootio-golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
ubuntu 5 releases · 3 packages
fixed 9
golang-1-18
golang-1-22
golang-1-17
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-1-18 | 1.18.1-1ubuntu1~18.04.4+esm1 |
| 20.04 | golang-1-18 | 1.18.1-1ubuntu1~20.04.3 |
| 20.04 | golang-1-22 | 1.22.2-2~20.04.2 |
| 20.04-ESM | golang-1-18 | 1.18.1-1ubuntu1~20.04.3 |
| 20.04-ESM | golang-1-22 | 1.22.2-2~20.04.2 |
| 22.04 | golang-1-17 | 1.17.13-3ubuntu1.3 |
3 more rows
wolfi 1 release · 374 packages
not affected 1
fixed 373
go-1-20
harbor-cli
pombump
gke-gcloud-auth-plugin
wireguard-go
spegel
+368
| Release | Package | Fixed in |
|---|---|---|
| go-1-20 | not affected | |
| harbor-cli | 0.0.1-r5 | |
| pombump | 0.0.13-r2 | |
| gke-gcloud-auth-plugin | 0.0.2-r13 | |
| wireguard-go | 0.0.20230223-r15 | |
| spegel | 0.0.24-r2 |
368 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:8038
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:9459
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-34155
- bugzilla.redhat.com https://bugzilla.redhat.com/2310527
- bugzilla.redhat.com https://bugzilla.redhat.com/2310528
- bugzilla.redhat.com https://bugzilla.redhat.com/2310529
- bugzilla.redhat.com https://bugzilla.redhat.com/2315691
- bugzilla.redhat.com https://bugzilla.redhat.com/2315887
- bugzilla.redhat.com https://bugzilla.redhat.com/2317458
- bugzilla.redhat.com https://bugzilla.redhat.com/2317467
Show all 36 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2268017
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2310527
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2310528
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2310529
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45290
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34155
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34156
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34158
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-9459.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:8038
- github.com https://github.com/golang/go/commit/53487e5477151ed75da50e50a0ba8f1ca64c00a3 (go1.23.1)
- github.com https://github.com/golang/go/commit/b232596139dbe96a62edbe3a2a203e856bf556eb (go1.22.7)
- go.dev https://go.dev/cl/611238
- go.dev https://go.dev/issue/69138
- groups.google.com https://groups.google.com/g/golang-announce/c/K-cEzDeCtpc
- groups.google.com https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-34155.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-9459.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-34155
- pkg.go.dev https://pkg.go.dev/vuln/GO-2024-3105
- security.netapp.com https://security.netapp.com/advisory/ntap-20240926-0005/
- ubuntu.com https://ubuntu.com/security/notices/USN-7081-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7109-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7111-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-34155
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.