CVE-2023-24537
golang: go/parser: Infinite loop in parsing
Overview
Description
Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.
Source: OX vulnerability database
Severity
7.5 · HIGH
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
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-190
Affected packages · 2
Operating systems · 207 fixes
Azure Linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | golang | 0:1.20.7-1.azl3 |
Oracle Linux 2 releases · 18 packages
fixed 20
udica
fuse-overlayfs
slirp4netns
oci-seccomp-bpf-hook
crun
runc
+12
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-20.module+el8.9.0+90021+ce997450 |
| 8 | fuse-overlayfs | 1.12-1.module+el8.9.0+90021+ce997450 |
| 8 | slirp4netns | 1.2.1-1.module+el8.9.0+90021+ce997450 |
| 8 | oci-seccomp-bpf-hook | 1.2.9-1.module+el8.9.0+90021+ce997450 |
| 8 | crun | 1.8.7-1.module+el8.9.0+90021+ce997450 |
| 8 | runc | 1:1.1.9-1.module+el8.9.0+90021+ce997450 |
14 more rows
Photon OS 2 releases · 4 packages
fixed 7
pmd-ng
falco
kubernetes-dashboard
go
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | pmd-ng | 0.1-2.ph4 |
| 4.0 | falco +1 | 0.35.0-4.0510183001.ph4 |
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
| 5.0 | pmd-ng | 0.1-3.ph5 |
| 5.0 | falco | 0.32.2-6.0601037001.ph5 |
| 5.0 | go | 1.26.3-1.ph5 |
1 more row
Red Hat 8 releases · 38 packages
eol 2
wont fix 5
fixed 82
heketi
go-toolset-7-golang
golang
buildah
go-toolset-1-19-golang
grafana
+32
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| heketi +2 | eol | — | |
| go-toolset-7-golang +9 | wont fix | — | |
| 7 | golang +2 | eol | — |
| 7 | buildah +8 | wont fix | — |
| 7 | go-toolset-1-19-golang +6 | 0:1.19.9-1.el7_9 | RHSA-2023:3323 |
| 8 | grafana +13 | wont fix | — |
83 more rows
SUSE Linux Enterprise 1 release · 2 packages
fixed 2
go1-19
go1-20
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-19 +2 | 1.19.8-150000.1.26.1 | SUSE-SU-2023:1792-1 |
| 15.4 | go1-20 +2 | 1.20.3-150000.1.8.1 | SUSE-SU-2023:1791-1 |
alma 3 releases · 20 packages
fixed 41
toolbox
udica
slirp4netns
oci-seccomp-bpf-hook
crun
fuse-overlayfs
+14
| 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.3-1.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | fuse-overlayfs | 1.9-2.module_el8.9.0+3627+db8ec155 |
35 more rows
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.20.3-r0 |
| 3.23 | go | 1.20.3-r0 |
| 3.24 | go | 1.20.3-r0 |
| edge | go | 1.20.3-r0 |
amazon linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.8-1.amzn2023.0.1 |
chainguard 1 release · 2 packages
fixed 2
kubeflow-katib
go-1-20
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| go-1-20 | 1.20.3-r1 |
debian 3 releases · 3 packages
affected 2
fixed 1
golang-1-11
golang-1-15
golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | 1.19.8-2 |
echo 1 release · 1 package
fixed 1
golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | 1.19.8-2 |
openSUSE 1 release · 2 packages
fixed 2
go1-19
go1-20
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-19 +2 | 1.19.8-1.1 | openSUSE-SU-2024:12845-1 |
| Tumbleweed | go1-20 +3 | 1.20.3-1.1 | openSUSE-SU-2024:12841-1 |
rocky 1 release · 17 packages
fixed 17
udica
slirp4netns
oci-seccomp-bpf-hook
crun
fuse-overlayfs
containernetworking-plugins
+11
| 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) | crun | 1.8.3-1.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) | containernetworking-plugins | 1:1.1.1-5.module+el8.9.0+1445+07728297 |
11 more rows
root.io debian 1 release · 1 package
fixed 1
rootio-golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | 1.19.8-2 |
ubuntu 5 releases · 5 packages
fixed 12
affected 2
golang-1-18
golang-1-13
golang-1-16
golang-1-14
golang-1-17
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | golang-1-18 | 1.18.1-1ubuntu1~18.04.4 |
| 18.04-ESM | golang-1-13 | 1.13.8-1ubuntu1~18.04.4+esm1 |
| 18.04-ESM | golang-1-16 | 1.16.2-0ubuntu1~18.04.2+esm1 |
| 18.04-ESM | golang-1-18 | 1.18.1-1ubuntu1~18.04.4 |
| 20.04 | golang-1-13 | 1.13.8-1ubuntu1.2 |
| 20.04 | golang-1-16 | 1.16.2-0ubuntu1~20.04.1 |
8 more rows
wolfi 1 release · 2 packages
fixed 2
kubeflow-katib
go-1-20
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| go-1-20 | 1.20.3-r1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:6474
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:6939
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-24537
- bugzilla.redhat.com https://bugzilla.redhat.com/2174485
- bugzilla.redhat.com https://bugzilla.redhat.com/2178358
- bugzilla.redhat.com https://bugzilla.redhat.com/2178488
- bugzilla.redhat.com https://bugzilla.redhat.com/2178492
- bugzilla.redhat.com https://bugzilla.redhat.com/2184481
- bugzilla.redhat.com https://bugzilla.redhat.com/2184482
- bugzilla.redhat.com https://bugzilla.redhat.com/2184483
Show all 69 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2184484
- bugzilla.redhat.com https://bugzilla.redhat.com/2196026
- bugzilla.redhat.com https://bugzilla.redhat.com/2196027
- bugzilla.redhat.com https://bugzilla.redhat.com/2196029
- bugzilla.redhat.com https://bugzilla.redhat.com/2222167
- bugzilla.redhat.com https://bugzilla.redhat.com/2228689
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2163037
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2174485
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2175721
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2178358
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2178488
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2178492
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2182883
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2182884
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2184481
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2184482
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2184483
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2184484
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2196026
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2196027
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2196029
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2222167
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2228689
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3064
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41723
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41724
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41725
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24534
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24536
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24537
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24538
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24539
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24540
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25173
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25809
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-27561
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28642
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29400
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29406
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3978
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-6474.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:6939
- github.com https://github.com/golang/go/commit/126a1d02da82f93ede7ce0bd8d3c51ef627f2104 (go1.19.8)
- github.com https://github.com/golang/go/commit/e7c4b07ecf6b367f1afc9cc48cde963829dd0aab (go1.20.3)
- github.com https://github.com/golang/go/issues/59180
- go.dev https://go.dev/cl/482078
- go.dev https://go.dev/issue/59180
- groups.google.com https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-24537.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-6939.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-24537
- pkg.go.dev https://pkg.go.dev/vuln/GO-2023-1702
- security.gentoo.org https://security.gentoo.org/glsa/202311-09
- security.netapp.com https://security.netapp.com/advisory/ntap-20241129-0004/
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6140-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-24537
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.