CVE-2024-34155: Stack exhaustion in all Parse functions in go/parser

Published Sep 6, 2024
·
Updated

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

Other sources

Stack exhaustion in all Parse functions in go/parser

— Microsoft

Affected Software

31 affected componentsFixes available
IBM Concert Software<=1.0.0-1.1.0
Microsoft cbl2 golang 1.18.8-8<1.18.8-8
1.18.8-8
debian/golang-1.19*
debian/golang-1.19<=1.19.8-2
alpine/go<1.22.7-r0
1.22.7-r0
alpine/go<1.23.1-r0
1.23.1-r0
alpine/go<1.23.1-r0
1.23.1-r0
alpine/go<1.23.1-r0
1.23.1-r0
alpine/go<1.23.1-r0
1.23.1-r0
ubuntu/golang-1.10*
ubuntu/golang-1.18<1.18.1-1ubuntu1~16.04.6+esm1
1.18.1-1ubuntu1~16.04.6+esm1
ubuntu/golang-1.10*
ubuntu/golang-1.6*
ubuntu/golang-1.13*
ubuntu/golang-1.10*
ubuntu/golang-1.13*
ubuntu/golang-1.16*
ubuntu/golang-1.18<1.18.1-1ubuntu1~18.04.4+esm1
1.18.1-1ubuntu1~18.04.4+esm1
ubuntu/golang-1.8*
ubuntu/golang-1.18<1.18.1-1ubuntu1~20.04.3
1.18.1-1ubuntu1~20.04.3
ubuntu/golang-1.22<1.22.2-2~20.04.2
1.22.2-2~20.04.2
ubuntu/golang-1.13*
ubuntu/golang-1.16*
ubuntu/golang-1.20*
ubuntu/golang-1.17<1.17.13-3ubuntu1.3
1.17.13-3ubuntu1.3
ubuntu/golang-1.18<1.18.1-1ubuntu1.2
1.18.1-1ubuntu1.2
ubuntu/golang-1.20*
ubuntu/golang-1.22<1.22.2-2~22.04.2
1.22.2-2~22.04.2
ubuntu/golang-1.13*
ubuntu/golang-1.21*
ubuntu/golang-1.22<1.22.2-2ubuntu0.3
1.22.2-2ubuntu0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.18.8-8
  2. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.22.7-r0
  3. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.23.1-r0
  4. Upgrade

    Upgrade ubuntu/golang-1.18 to a version that resolves this vulnerability.

    Fixed in 1.18.1-1ubuntu1~16.04.6+esm1
  5. Upgrade

    Upgrade ubuntu/golang-1.18 to a version that resolves this vulnerability.

    Fixed in 1.18.1-1ubuntu1~18.04.4+esm1
  6. Upgrade

    Upgrade ubuntu/golang-1.18 to a version that resolves this vulnerability.

    Fixed in 1.18.1-1ubuntu1~20.04.3
  7. Upgrade

    Upgrade ubuntu/golang-1.22 to a version that resolves this vulnerability.

    Fixed in 1.22.2-2~20.04.2
  8. Upgrade

    Upgrade ubuntu/golang-1.17 to a version that resolves this vulnerability.

    Fixed in 1.17.13-3ubuntu1.3
  9. Upgrade

    Upgrade ubuntu/golang-1.18 to a version that resolves this vulnerability.

    Fixed in 1.18.1-1ubuntu1.2
  10. Upgrade

    Upgrade ubuntu/golang-1.22 to a version that resolves this vulnerability.

    Fixed in 1.22.2-2~22.04.2
  11. Upgrade

    Upgrade ubuntu/golang-1.22 to a version that resolves this vulnerability.

    Fixed in 1.22.2-2ubuntu0.3

Event History

Sep 6, 2024
CVE Published
via MITRE·08:42 PM
Data Sourced
via MITRE·08:42 PM
DescriptionWeakness
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:15 PM
Description
Data Sourced
via Red Hat·09:20 PM
DescriptionSeverityAffected Software
Nov 4, 2024
Data Sourced
via NVD·05:35 PM
Severity
Event
via NVD·05:35 PM
Jan 6, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Feb 4, 2025
Updated
via IBM·12:00 AM
Affected Software
Mar 7, 2025
Updated
via IBM·12:00 AM
Affected Software
May 2, 2025
Updated
via IBM·12:00 AM
Affected Software
Aug 17, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·05:07 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·05:07 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-34155?

CVE-2024-34155 has a severity that can lead to application crashes due to stack exhaustion.

2

How do I fix CVE-2024-34155?

To fix CVE-2024-34155, upgrade to golang-1.22 version 1.22.11-1 or golang-1.23 version 1.23.5-1.

3

What products are affected by CVE-2024-34155?

CVE-2024-34155 affects IBM Concert Software and multiple versions of Go, specifically golang-1.15, golang-1.19, golang-1.22, and golang-1.23.

4

Can CVE-2024-34155 cause security issues?

Yes, CVE-2024-34155 can lead to a denial of service due to application crashes under specific conditions.

5

How do I check if my software is vulnerable to CVE-2024-34155?

You can check if your software is vulnerable to CVE-2024-34155 by verifying if you are using the affected versions of Go and IBM Concert Software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203