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

 

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

Published: May 30, 2022


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

Vulnerability details

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

The vulnerability exists due to a boundary error in ntfs_names_full_collate. A remote administrator can use a specially crafted NTFS image file, 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

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-system-compression
libguestfs-winsupport (Red Hat package)
ntfs-3g (Ubuntu package)
ntfs-3g (Debian package)
ntfs-3g-debuginfo
ntfs-3g-devel
ntfs-3g-debugsource
ntfs-3g-help
ntfs-3g
ntfs-3g_ntfsprogs-debugsource
ntfsprogs
ntfsprogs-debuginfo
libntfs-3g-devel
libntfs-3g84-debuginfo
libntfs-3g84
libntfs-3g87
libntfs-3g87-debuginfo
ntfs-3g_ntfsprogs-debuginfo
ntfsprogs-extra
ntfsprogs-extra-debuginfo

How to mitigate CVE-2022-30786

Install updates from vendor's website.

NTFS-3G - update to 2022.5.17
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 (Ubuntu package) - addressed in versions 1:2015.3.14AR.11ubuntu0.3+esm3, 1:2017.3.23AR.3-3ubuntu1.2, 1:2017.3.23AR.3-3ubuntu5.1, 1:2017.3.23-2ubuntu0.18.04.4, 1:2021.8.22-3ubuntu1.1
ntfs-3g (Debian package) - addressed in versions 1:2017.3.23AR.3-3+deb10u2, 1:2017.3.23AR.3-4+deb11u2
ntfs-3g-debuginfo - update to 2022.5.17-1
ntfs-3g-devel - update to 2022.5.17-1
ntfs-3g-debugsource - update to 2022.5.17-1
ntfs-3g-help - update to 2022.5.17-1
ntfs-3g - 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
ntfs-3g-debuginfo - 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
ntfsprogs - 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
libntfs-3g-devel - 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
ntfs-3g - addressed in versions 2022.5.17-5.12.1, 2022.5.17-150000.3.11.1
libntfs-3g84 - update to 2022.5.17-5.12.1
libntfs-3g87 - update to 2022.5.17-150000.3.11.1
libntfs-3g87-debuginfo - update to 2022.5.17-150000.3.11.1
ntfs-3g_ntfsprogs-debuginfo - update to 2022.5.17-150000.3.11.1
ntfsprogs-extra - update to 2022.5.17-150000.3.11.1
ntfsprogs-extra-debuginfo - update to 2022.5.17-150000.3.11.1
ntfs-3g - update to 2022.10.3

External References

Related Security Bulletins