Security mailing lists by PureSourceCode

CVE-2024-34158

HIGH 7.5CVSS 3.1

Stack exhaustion in Parse in go/build/constraint

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

Published
6 Sep 2024
Last modified
5 Aug 2026
Assigned by
security@golang.org
NVD status
Deferred
Weakness
CWE-674
Also known as
BIT-golang-2024-34158GO-2024-3107
Sources
NVDJSONOSV GO-2024-3107JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go stdlib < 1.22.7; >= 1.23.0-0, < 1.23.1 1.22.7, 1.23.1

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Sep 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.