All CVEs / Go standard library
CVE-2024-34155Go standard library go/parser
Medium 4.3
Follow: this CVE · Go standard library · Go standard library go/parser We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for go/parser.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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
- Go standard library · go/parser
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.14.40 packages and security update · Red Hat · RHSA-2024:8700 · Nov 13, 2024 High
- Red Hat Security Advisory: buildah security update · Red Hat · RHSA-2024:9459 · Nov 13, 2024 High
- Red Hat Security Advisory: OpenShift Container Platform 4.12.68 security update · Red Hat · RHSA-2024:8694 · Nov 13, 2024 High
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.