CVE-2024-34155 — Uncontrolled Recursion in Standard Library GO Parser
Severity
4.3MEDIUMNVD
OSV7.5
EPSS
0.1%
top 76.10%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 6
Latest updateNov 14
Description
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitability: 2.8 | Impact: 1.4
Affected Packages1 packages
🔴Vulnerability Details
5GHSA▶
GHSA-8xfx-rj4p-23jm: Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion↗2024-09-06
OSV▶
CVE-2024-34155: Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion↗2024-09-06
📋Vendor Advisories
6Red Hat▶
go/parser: golang: Calling any of the Parse functions containing deeply nested literals can cause a panic/stack exhaustion↗2024-09-06