AlmaLinux Security Advisory
ALSA-2024:6913
Important: golang security update
Details
The golang packages provide the Go programming language compiler.
Security Fix(es):
- net/http: Denial of service due to improper 100-continue handling in net/http (CVE-2024-24791)
- go/parser: golang: Calling any of the Parse functions containing deeply nested literals can cause a panic/stack exhaustion (CVE-2024-34155)
- encoding/gob: golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion (CVE-2024-34156)
- go/build/constraint: golang: Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion (CVE-2024-34158)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:9 | go-toolset | All versions before 1.21.13-3.el9_4 (fixed in 1.21.13-3.el9_4) |
| AlmaLinux:9 | golang | All versions before 1.21.13-3.el9_4 (fixed in 1.21.13-3.el9_4) |
| AlmaLinux:9 | golang-bin | All versions before 1.21.13-3.el9_4 (fixed in 1.21.13-3.el9_4) |
| AlmaLinux:9 | golang-docs | All versions before 1.21.13-3.el9_4 (fixed in 1.21.13-3.el9_4) |
| AlmaLinux:9 | golang-misc | All versions before 1.21.13-3.el9_4 (fixed in 1.21.13-3.el9_4) |
| AlmaLinux:9 | golang-src | All versions before 1.21.13-3.el9_4 (fixed in 1.21.13-3.el9_4) |
| AlmaLinux:9 | golang-tests | All versions before 1.21.13-3.el9_4 (fixed in 1.21.13-3.el9_4) |
References
- https://access.redhat.com/errata/RHSA-2024:6913
- https://access.redhat.com/security/cve/CVE-2024-24791
- https://access.redhat.com/security/cve/CVE-2024-34155
- https://access.redhat.com/security/cve/CVE-2024-34156
- https://access.redhat.com/security/cve/CVE-2024-34158
- https://bugzilla.redhat.com/2295310
- https://bugzilla.redhat.com/2310527
- https://bugzilla.redhat.com/2310528
- https://bugzilla.redhat.com/2310529
- https://errata.almalinux.org/9/ALSA-2024-6913.html