Heap-based buffer overflow in exfatprogs - CVE-2023-45897
Published: November 18, 2023
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
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
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
- https://github.com/exfatprogs/exfatprogs/commit/22d0e43e8d24119cbfc6efafabb0dec6517a86c4
- https://github.com/exfatprogs/exfatprogs/releases/tag/1.2.2
- https://github.com/exfatprogs/exfatprogs/commit/4abc55e976573991e6a1117bb2b3711e59da07ae
- https://github.com/exfatprogs/exfatprogs/commit/ec78688e5fb5a70e13df82b4c0da1e6228d3ccdf
- https://dfir.ru/2023/11/01/cve-2023-45897-a-vulnerability-in-the-linux-exfat-userspace-tools/