CVE-2024-34158: Stack exhaustion in Parse in go/build/constraint

Published Sep 6, 2024
·
Updated

Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

Other sources

Golang Go is vulnerable to a denial of service, caused by a stack exhaustion in Parse. By sending a specially crafted request, a remote attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

3 affected componentsFixes available
debian/golang-1.15<=1.15.15-1~deb11u4
debian/golang-1.19<=1.19.8-2
debian/golang-1.23
1.23.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/golang-1.23 to a version that resolves this vulnerability.

    Fixed in 1.23.8-1

Event History

Sep 6, 2024
CVE Published
via MITRE·08:42 PM
Data Sourced
via MITRE·08:42 PM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·09:20 PM
DescriptionSeverityAffected Software
Nov 14, 2024
Data Sourced
via Ubuntu·03:00 PM
RemedyDescriptionSeverityAffected Software
Feb 4, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Feb 26, 2025
Data Sourced
via Debian·03:18 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-34158?

CVE-2024-34158 has been classified as a denial of service vulnerability due to potential stack exhaustion.

2

How do I fix CVE-2024-34158?

To mitigate CVE-2024-34158, upgrade affected versions of Golang to 1.22.11-1 or 1.23.5-1.

3

What products are affected by CVE-2024-34158?

CVE-2024-34158 affects IBM Concert Software versions up to 1.0.3 and specific Debian packages of Golang.

4

Can CVE-2024-34158 cause application crashes?

Yes, CVE-2024-34158 can cause application crashes due to stack exhaustion during parsing.

5

Is CVE-2024-34158 related to Golang?

Yes, CVE-2024-34158 specifically affects the Golang programming language when parsing certain build tag lines.

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