CVE-2024-34155

Stack exhaustion in all Parse functions in go/parser

State
Published
Severity
4.3 Medium
Published
Sep 6, 2024
Updated
Nov 4, 2024
Reserved
May 1, 2024

Read the record on cve.org

Description

Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
go/parserGo standard library
  • before 1.22.7Affected
  • 1.23.0-0 to before 1.23.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.