Integer underflow in NTFS-3G - CVE-2022-30787

 

Integer underflow in NTFS-3G - CVE-2022-30787

Published: May 27, 2022


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

Vulnerability details

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

The vulnerability exists due to integer underflow in fuse_lib_readdir when using libfuse-lite. A local administrator can send a specially crafted request to the affected application, trigger integer underflow 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
Fedora
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
SUSE Linux Enterprise Desktop
Slackware Linux
Ubuntu
openSUSE Leap
openEuler
ntfs-3g (Ubuntu package)
ntfs-3g-system-compression
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-30787

Install updates from vendor's website.

NTFS-3G - update to 2022.5.17
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
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