Heap-based buffer overflow in exfatprogs - CVE-2023-45897

 

Heap-based buffer overflow in exfatprogs - CVE-2023-45897

Published: November 18, 2023


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when handling file names. A remote attacker can trick the victim to use the filesystem tools against a specially crafted file with an overly long file name, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

exfatprogs
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Basesystem Module
openSUSE Leap
Ubuntu
exfatprogs-debuginfo
exfatprogs
exfatprogs-debugsource
exfatprogs (Ubuntu package)
exfatprogs (Red Hat package)

How to mitigate CVE-2023-45897

Install updates from vendor's website.

exfatprogs - update to 1.2.2
exfatprogs-debuginfo - update to 1.0.4-150300.3.12.1
exfatprogs - update to 1.0.4-150300.3.12.1
exfatprogs-debugsource - update to 1.0.4-150300.3.12.1
exfatprogs (Ubuntu package) - update to 1.1.3-1ubuntu0.1
exfatprogs (Red Hat package) - update to 1.2.2-2.el9

External References

Related Security Bulletins