Heap-based buffer overflow in NTFS-3G - CVE-2022-30789

 

Heap-based buffer overflow in NTFS-3G - CVE-2022-30789

Published: June 8, 2022


Vulnerability identifier: #VU64094
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-30789
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to execute arbitrary code with escalated privileges.

The vulnerability exists due to a boundary error in the ntfs_check_log_client_array in NTFS-3G. A local attacker can mount a specially crafted NTFS image, trigger a heap-based buffer overflow and execute arbitrary code with escalated privileges.


Affected software

NTFS-3G
Oracle Linux
Fedora
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Workstation Extension
Slackware Linux
Ubuntu
openSUSE Leap
openEuler
ntfs-3g (Ubuntu package)
ntfs-3g-system-compression
libguestfs-winsupport (Red Hat package)
ntfs-3g-devel
ntfs-3g
ntfs-3g-help
ntfs-3g-debugsource
ntfs-3g-debuginfo
libntfs-3g84
libntfs-3g-devel
ntfsprogs-debuginfo
ntfsprogs
ntfs-3g_ntfsprogs-debugsource
libntfs-3g84-debuginfo
ntfsprogs-extra-debuginfo
ntfsprogs-extra
ntfs-3g_ntfsprogs-debuginfo
libntfs-3g87-debuginfo
libntfs-3g87
ntfs-3g (Debian package)

How to mitigate CVE-2022-30789

Install updates from vendor's website.

NTFS-3G - update to 2021.8.22
ntfs-3g (Ubuntu package) - addressed in versions 1:2013.1.13AR.1-2ubuntu2+esm3, 1:2015.3.14AR.1-1ubuntu0.3+esm3, 1:2017.3.23-2ubuntu0.18.04.4, 1:2017.3.23AR.3-3ubuntu1.2, 1:2017.3.23AR.3-3ubuntu5.1, 1:2021.8.22-3ubuntu1.1
ntfs-3g-system-compression - addressed in versions 1.0-9.fc35, 1.0-9.fc36
libguestfs-winsupport (Red Hat package) - update to 9.2-1.el9
ntfs-3g-devel - update to 2022.5.17-1
ntfs-3g - update to 2022.5.17-1
ntfs-3g-help - update to 2022.5.17-1
ntfs-3g-debugsource - update to 2022.5.17-1
ntfs-3g-debuginfo - update to 2022.5.17-1
ntfs-3g - addressed in versions 2022.5.17-1.el7, 2022.5.17-1.fc35, 2022.5.17-1.fc36, 2022.5.17-2.el8, 2022.5.17-2.el9
libntfs-3g84 - update to 2022.5.17-5.12.1
libntfs-3g-devel - addressed in versions 2022.5.17-5.12.1, 2022.5.17-150000.3.11.1
ntfsprogs-debuginfo - addressed in versions 2022.5.17-5.12.1, 2022.5.17-150000.3.11.1
ntfsprogs - addressed in versions 2022.5.17-5.12.1, 2022.5.17-150000.3.11.1
ntfs-3g_ntfsprogs-debugsource - addressed in versions 2022.5.17-5.12.1, 2022.5.17-150000.3.11.1
ntfs-3g-debuginfo - addressed in versions 2022.5.17-5.12.1, 2022.5.17-150000.3.11.1
ntfs-3g - addressed in versions 2022.5.17-5.12.1, 2022.5.17-150000.3.11.1
libntfs-3g84-debuginfo - update to 2022.5.17-5.12.1
ntfsprogs-extra-debuginfo - update to 2022.5.17-150000.3.11.1
ntfsprogs-extra - update to 2022.5.17-150000.3.11.1
ntfs-3g_ntfsprogs-debuginfo - update to 2022.5.17-150000.3.11.1
libntfs-3g87-debuginfo - update to 2022.5.17-150000.3.11.1
libntfs-3g87 - update to 2022.5.17-150000.3.11.1
ntfs-3g - update to 2022.10.3
ntfs-3g (Debian package) - addressed in versions 1:2017.3.23AR.3-3+deb10u2, 1:2017.3.23AR.3-4+deb11u2

External References

Related Security Bulletins