CVE-2024-34158

Stack exhaustion in Parse in go/build/constraint

Published Sep 6, 2024 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
Description
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-7081-1 Go vulnerabilities
Ubuntu USN Ubuntu USN USN-7109-1 Go vulnerabilities
Ubuntu USN Ubuntu USN USN-7111-1 Go vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_api_data_protection:1.4::el9
Type Values Removed Values Added
First Time appeared Redhat rhmt
CPEs cpe:/a:redhat:rhmt:1.8::el8
Vendors & Products Redhat rhmt
Type Values Removed Values Added
First Time appeared Redhat kube Descheduler Operator
CPEs cpe:/a:redhat:kube_descheduler_operator:5.0::el9
Vendors & Products Redhat kube Descheduler Operator
Type Values Removed Values Added
First Time appeared Redhat openshift Api Data Protection
Redhat openshift Secondary Scheduler
CPEs cpe:/a:redhat:openshift_api_data_protection:1.3::el9
cpe:/a:redhat:openshift_secondary_scheduler:1.2::el9
Vendors & Products Redhat openshift Api Data Protection
Redhat openshift Secondary Scheduler
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.14::el8
cpe:/a:redhat:openshift:4.14::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.12::el8
cpe:/a:redhat:openshift:4.12::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.13::el8
cpe:/a:redhat:openshift:4.13::el9
Type Values Removed Values Added
First Time appeared Redhat run Once Duration Override Operator
CPEs cpe:/a:redhat:openshift:4.15::el8
cpe:/a:redhat:openshift:4.15::el9
cpe:/a:redhat:run_once_duration_override_operator:1.1::el9
Vendors & Products Redhat run Once Duration Override Operator
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.16::el8
cpe:/a:redhat:openshift:4.16::el9
Type Values Removed Values Added
First Time appeared Redhat logging
CPEs cpe:/a:redhat:logging:5.6::el8
cpe:/a:redhat:logging:5.8::el9
cpe:/a:redhat:logging:5.9::el9
cpe:/a:redhat:logging:6.0::el9
Vendors & Products Redhat logging
Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:openshift:4.17::el8
cpe:/a:redhat:openshift:4.17::el9
Vendors & Products Redhat openshift
Type Values Removed Values Added
First Time appeared Redhat cryostat
CPEs cpe:/a:redhat:cryostat:3::el8
Vendors & Products Redhat cryostat
Type Values Removed Values Added
First Time appeared Redhat network Observ Optr
CPEs cpe:/a:redhat:network_observ_optr:1.7.0::el9
Vendors & Products Redhat network Observ Optr
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
First Time appeared Go Build Constraint
Go Build Constraint go Standard Library
Weaknesses CWE-674
CPEs cpe:2.3:a:go_build_constraint:go_standard_library:*:*:*:*:*:*:*:*
Vendors & Products Go Build Constraint
Go Build Constraint go Standard Library
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-1325
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Description Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
Title Stack exhaustion in Parse in go/build/constraint
References