Bug 2310555 - CVE-2024-34156 golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion [fedora-all]
Summary: CVE-2024-34156 golang: Calling Decoder.Decode on a message which contains dee...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: golang
Version: 40
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Alejandro Sáez Morollón
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["52f5f0dd-f8d4-49bb-b4f9-9...
Depends On:
Blocks: CVE-2024-34156
TreeView+ depends on / blocked
 
Reported: 2024-09-07 03:37 UTC by Robb Gatica
Modified: 2025-05-20 19:33 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-20 19:33:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-09-07 03:37:53 UTC
More information about this security flaw is available in the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=2310528

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Fedora Blocker Bugs Application 2024-10-16 18:53:58 UTC
Proposed as a Blocker and Freeze Exception for 41-final by Fedora user augenauf using the blocker tracking app because:

 bugs 2310555, 2310528 lead to CVE-2024-34156, rated 7.5. if Fedora 41 is affected, unclear to me, we should not ship Fedora 41 with this bug. 
CVE info: https://access.redhat.com/security/cve/CVE-2024-34156. 
Upstream issue: https://github.com/golang/go/issues/69139 (there is a fix pending).

Comment 2 Flo 2024-10-16 19:13:54 UTC
Could this bug be closed? https://groups.google.com/g/golang-dev/c/S9POB9NCTdk

Comment 3 Adam Williamson 2024-10-17 15:56:38 UTC
Yes, I think so. That email says 1.23.1 and 1.22.7 are fixed. F41 stable has 1.23.2. F39 stable has 1.22.8. F40 stable has 1.22.7. I don't know why F40 is behind F39 - it looks like 1.22.8 was just not built for F40 at all - but they all have the fix for this CVE. 1.22.8 does not appear to be a security update, so I don't think F40 has known vulns.

Comment 4 Adam Williamson 2024-10-21 17:03:03 UTC
Fabio Valentini points out that we'd probably need to rebuild all Go packages to fully resolve this vuln, so re-opening. Do we want to co-ordinate a mini mass rebuild of Go apps on all releases?

Comment 5 František Zatloukal 2024-10-21 19:46:15 UTC
Discussed during the 2024-10-21 blocker review meeting: [1]

The decision to classify this bug as RejectedBlocker (Final) RejectedFreezeException (Final) was made:

"This is rejected on the basis that the issues caused can be "satisfactorily resolved by a package update" (per the criteria). anything built with Go and persistently parsing untrusted input is probably some kind of system service which should be deployed only on an installed system. we are not aware of any likely context in which this vulnerability would be exposed in a live or installer environment."

[1] https://meetbot.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2024-10-21/f41-blocker-review.2024-10-21-16.00.log.html

Comment 6 Aoife Moloney 2025-04-28 13:44:31 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Aoife Moloney 2025-05-20 19:33:16 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.