Red Hat VEX
RHVEX-CVE-2024-34155
go/parser: golang: Calling any of the Parse functions containing deeply nested literals can cause a panic/stack exhaustion
Details
A flaw was found in the go/parser package of the Golang standard library. Calling any Parse functions on Go source code containing deeply nested literals can cause a panic due to stack exhaustion.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | osbuild-composer | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-core | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-dnf-json | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-worker | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | grafana | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | grafana-selinux | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | opentelemetry-collector | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | osbuild-composer | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-core | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-dnf-json | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-worker | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2024-34155
- https://bugzilla.redhat.com/show_bug.cgi?id=2310527
- https://www.cve.org/CVERecord?id=CVE-2024-34155
- https://nvd.nist.gov/vuln/detail/CVE-2024-34155
- https://go.dev/cl/611238
- https://go.dev/issue/69138
- https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
- https://pkg.go.dev/vuln/GO-2024-3105