Out-of-bounds read in llvm-project - CVE-2023-29939

 

Out-of-bounds read in llvm-project - CVE-2023-29939

Published: October 20, 2023


Vulnerability identifier: #VU82283
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-29939
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition within the component mlir::spirv::TargetEnv::TargetEnv(mlir::spirv::TargetEnvAttr). A remote attacker can trigger an out-of-bounds read error and cause a denial of service condition on the system.


Affected software

llvm-project
IBM Observability with Instana
Isolation Segment
VMware Tanzu Application Service for VMs
VMware Tanzu Operations Manager
Ubuntu
mlir-13-tools (Ubuntu package)
llvm-13-tools (Ubuntu package)
llvm-13 (Ubuntu package)
llvm-14-tools (Ubuntu package)
llvm-14 (Ubuntu package)
mlir-14-tools (Ubuntu package)
llvm-15 (Ubuntu package)
llvm-15-tools (Ubuntu package)
mlir-15-tools (Ubuntu package)

How to mitigate CVE-2023-29939

Install updates from vendor's website.

llvm-project - update to 17.0.3
IBM Observability with Instana - update to 1.0.297
VMware Tanzu Operations Manager - update to 3.0.15
Isolation Segment - addressed in versions 3.0.15, 4.0.6
VMware Tanzu Application Service for VMs - addressed in versions 3.0.15, 4.0.6
mlir-13-tools (Ubuntu package) - addressed in versions 1:13.0.1-2ubuntu2.2, 1:13.0.1-11ubuntu14.1
llvm-13-tools (Ubuntu package) - addressed in versions 1:13.0.1-2ubuntu2.2, 1:13.0.1-11ubuntu14.1
llvm-13 (Ubuntu package) - addressed in versions 1:13.0.1-2ubuntu2.2, 1:13.0.1-11ubuntu14.1
llvm-14-tools (Ubuntu package) - addressed in versions 1:14.0.0-1ubuntu1.1, 1:14.0.6-12ubuntu0.23.04.1
llvm-14 (Ubuntu package) - addressed in versions 1:14.0.0-1ubuntu1.1, 1:14.0.6-12ubuntu0.23.04.1
mlir-14-tools (Ubuntu package) - addressed in versions 1:14.0.0-1ubuntu1.1, 1:14.0.6-12ubuntu0.23.04.1
llvm-15 (Ubuntu package) - addressed in versions 1:15.0.7-0ubuntu0.22.04.3, 1:15.0.7-3ubuntu0.23.04.1
llvm-15-tools (Ubuntu package) - addressed in versions 1:15.0.7-0ubuntu0.22.04.3, 1:15.0.7-3ubuntu0.23.04.1
mlir-15-tools (Ubuntu package) - addressed in versions 1:15.0.7-0ubuntu0.22.04.3, 1:15.0.7-3ubuntu0.23.04.1

External References

Related Security Bulletins