Lucene search

K
cvelistGoCVELIST:CVE-2024-34158
HistorySep 06, 2024 - 8:42 p.m.

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

2024-09-0620:42:42
Go
www.cve.org
2
cve-2024-34158
stack exhaustion
parse
go/build/constraint
build tag
stack panic

EPSS

0

Percentile

16.3%

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

CNA Affected

[
  {
    "vendor": "Go standard library",
    "product": "go/build/constraint",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "go/build/constraint",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.22.7",
        "status": "affected",
        "versionType": "semver"
      },
      {
        "version": "1.23.0-0",
        "lessThan": "1.23.1",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "parsePlusBuildExpr"
      },
      {
        "name": "exprParser.not"
      },
      {
        "name": "Parse"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

EPSS

0

Percentile

16.3%