Live threats

All CVEs / Go standard library

CVE-2024-34155Go standard library go/parser

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
Yes
Published
Sep 6, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for go/parser.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.22.7 1.22.7 go get stdlib@v1.22.7
Go stdlib ≥ 1.23.0-0 < 1.23.1 1.23.1 go get stdlib@v1.23.1

Per OSV / GitHub Advisories (GO-2024-3105). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: Red Hat (+3)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.