CVE-2022-30789
published 2022-05-26CVE-2022-30789: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
PriorityP339high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.43%
34.5th percentile
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ntfs-3g | < ntfs-3g 1:2022.5.17-1 (bookworm) | ntfs-3g 1:2022.5.17-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_ntfs-3g_2022.5.17-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| tuxera | ntfs-3g | <= 2021.8.22 | — |
| tuxera | ntfs-3g | >= 0 < 1:2017.3.23AR.3-4+deb11u2 | 1:2017.3.23AR.3-4+deb11u2 |
| tuxera | ntfs-3g | >= 0 < 1:2022.5.17-1 | 1:2022.5.17-1 |
| tuxera | ntfs-3g | >= 0 < 1:2022.5.17-1 | 1:2022.5.17-1 |
| tuxera | ntfs-3g | >= 0 < 1:2022.5.17-1 | 1:2022.5.17-1 |
| tuxera | ntfs-3g | >= 0 < 1:2017.3.23-2ubuntu0.18.04.4 | 1:2017.3.23-2ubuntu0.18.04.4 |
| tuxera | ntfs-3g | >= 0 < 1:2017.3.23AR.3-3ubuntu1.2 | 1:2017.3.23AR.3-3ubuntu1.2 |
| tuxera | ntfs-3g | >= 0 < 1:2021.8.22-3ubuntu1.1 | 1:2021.8.22-3ubuntu1.1 |
| tuxera | ntfs-3g | >= 0 < 1:2013.1.13AR.1-2ubuntu2+esm3 | 1:2013.1.13AR.1-2ubuntu2+esm3 |
| tuxera | ntfs-3g | >= 0 < 1:2015.3.14AR.1-1ubuntu0.3+esm3 | 1:2015.3.14AR.1-1ubuntu0.3+esm3 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Kernel
ntfs: fix u16 truncation of restart-area length check
kernel_security·2026-06-08·CVSS 7.8
CVE-2022-30789 [HIGH] ntfs: fix u16 truncation of restart-area length check
ntfs: fix u16 truncation of restart-area length check
ntfs_check_restart_area() validates that the $LogFile restart area and
its trailing log client record array fit within the system page size:
u16 ra_ofs, ra_len, ca_ofs;
...
ra_len = ca_ofs + le16_to_cpu(ra->log_clients) *
sizeof(struct log_client_record);
if (ra_ofs + ra_len > le32_to_cpu(rp->system_page_size) || ...)
return false;
ra_len is u16, but the right-hand side is computed in size_t
(sizeof(struct log_client_record) == 160). Both ca_ofs and log_clients
come straight from the on-disk restart area. With an on-disk
log_clients of 410 the product 410 * 160 = 65600; adding ca_ofs and
storing into the u16 ra_len truncates modulo 65536 (e.g. ca_ofs 64
gives ra_len 128), so the "fits in the page" check passes even though
the client
OSV
ntfs-3g vulnerabilities
osv·2022-08-02·CVSS 6.7
CVE-2022-30783 [MEDIUM] ntfs-3g vulnerabilities
ntfs-3g vulnerabilities
USN-5463-1 fixed vulnerabilities in NTFS-3G. This update provides the
corresponding updates for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
Original advisory details:
Roman Fiedler discovered that NTFS-3G incorrectly handled certain return
codes. A local attacker could possibly use this issue to intercept
protocol traffic between FUSE and the kernel. (CVE-2022-30783)
It was discovered that NTFS-3G incorrectly handled certain NTFS disk
images. If a user or automated system were tricked into mounting a
specially crafted disk image, a remote attacker could use this issue to
cause a denial of service, or possibly execute arbitrary code.
(CVE-2022-30784, CVE-2022-30786, CVE-2022-30788, CVE-2022-30789)
Roman Fiedler discovered that NTFS-3G incorrectly handled certain file
OSV
ntfs-3g vulnerabilities
osv·2022-06-07·CVSS 7.8
CVE-2021-46790 [HIGH] ntfs-3g vulnerabilities
ntfs-3g vulnerabilities
It was discovered that NTFS-3G incorrectly handled the ntfsck tool. If a
user or automated system were tricked into using ntfsck on a specially
crafted disk image, a remote attacker could possibly use this issue to
execute arbitrary code. (CVE-2021-46790)
Roman Fiedler discovered that NTFS-3G incorrectly handled certain return
codes. A local attacker could possibly use this issue to intercept
protocol traffic between FUSE and the kernel. (CVE-2022-30783)
It was discovered that NTFS-3G incorrectly handled certain NTFS disk
images. If a user or automated system were tricked into mounting a
specially crafted disk image, a remote attacker could use this issue to
cause a denial of service, or possibly execute arbitrary code.
(CVE-2022-30784, CVE-2022-30786, CVE-2022-3
GHSA
GHSA-m552-m2c9-9wj8: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021
ghsa_unreviewed·2022-05-27
CVE-2022-30789 [MEDIUM] CWE-20 GHSA-m552-m2c9-9wj8: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
OSV
CVE-2022-30789: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021
osv·2022-05-26·CVSS 7.8
CVE-2022-30789 [HIGH] CVE-2022-30789: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
Ubuntu
NTFS-3G vulnerabilities
vendor_ubuntu·2022-08-02·CVSS 6.7
CVE-2022-30783 [MEDIUM] NTFS-3G vulnerabilities
Title: NTFS-3G vulnerabilities
Summary: Several security issues were fixed in ntfs-3g.
USN-5463-1 fixed vulnerabilities in NTFS-3G. This update provides the
corresponding updates for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
Original advisory details:
Roman Fiedler discovered that NTFS-3G incorrectly handled certain return
codes. A local attacker could possibly use this issue to intercept
protocol traffic between FUSE and the kernel. (CVE-2022-30783)
It was discovered that NTFS-3G incorrectly handled certain NTFS disk
images. If a user or automated system were tricked into mounting a
specially crafted disk image, a remote attacker could use this issue to
cause a denial of service, or possibly execute arbitrary code.
(CVE-2022-30784, CVE-2022-30786, CVE-2022-30788, CVE-2022-30789)
Roman
Ubuntu
NTFS-3G vulnerabilities
vendor_ubuntu·2022-06-07·CVSS 7.8
CVE-2022-30787 [HIGH] NTFS-3G vulnerabilities
Title: NTFS-3G vulnerabilities
Summary: Several security issues were fixed in ntfs-3g.
It was discovered that NTFS-3G incorrectly handled the ntfsck tool. If a
user or automated system were tricked into using ntfsck on a specially
crafted disk image, a remote attacker could possibly use this issue to
execute arbitrary code. (CVE-2021-46790)
Roman Fiedler discovered that NTFS-3G incorrectly handled certain return
codes. A local attacker could possibly use this issue to intercept
protocol traffic between FUSE and the kernel. (CVE-2022-30783)
It was discovered that NTFS-3G incorrectly handled certain NTFS disk
images. If a user or automated system were tricked into mounting a
specially crafted disk image, a remote attacker could use this issue to
cause a denial of service, or possibly exe
Red Hat
ntfs-3g: crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array
vendor_redhat·2022-05-26·CVSS 7.8
CVE-2022-30789 [HIGH] CWE-122 ntfs-3g: crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array
ntfs-3g: crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
A vulnerability was found in NTFS-3G. Incorrect validation of NTFS metadata can result in a heap-based buffer overflow when processing a crafted NTFS image file or partition.
Package: libguestfs-winsupport (Red Hat Enterprise Linux 7) - Out of support scope
Package: virt:8.2/libguestfs-winsupport (Red Hat Enterprise Linux 8 Advanced Virtualization) - Will not fix
Package: virt:av/libguestfs-winsupport (Red Hat Enterprise Linux 8 Advanced Virtualization) - Will not fix
Package: virt-devel:8.2/libguestfs-winsupport (Red Hat Enterprise Linux 8 Advanced Virtualization) - W
Microsoft
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
vendor_msrc·2022-05-10·CVSS 7.8
CVE-2022-30789 [HIGH] CWE-787 A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required:
Debian
CVE-2022-30789: ntfs-3g - A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_cl...
vendor_debian·2022·CVSS 7.8
CVE-2022-30789 [HIGH] CVE-2022-30789: ntfs-3g - A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_cl...
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.
Scope: local
bookworm: resolved (fixed in 1:2022.5.17-1)
bullseye: resolved (fixed in 1:2017.3.23AR.3-4+deb11u2)
forky: resolved (fixed in 1:2022.5.17-1)
sid: resolved (fixed in 1:2022.5.17-1)
trixie: resolved (fixed in 1:2022.5.17-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/tuxera/ntfs-3g/releaseshttps://github.com/tuxera/ntfs-3g/security/advisories/GHSA-xchm-ph5h-hw4xhttps://lists.debian.org/debian-lts-announce/2022/06/msg00017.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JPX6OUCQKZX4PN5DQPVDUFZCOOZUX7Z/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECDCISL24TYH4CTDFCUVF24WAKRSYF7F/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FAXFYIJWT5SHHRNPOJETM77EIMJ6ZP6I/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UEXHDCUSLJD2HSPMAAVZ5AWMPUOG6UI7/https://security.gentoo.org/glsa/202301-01https://www.debian.org/security/2022/dsa-5160https://github.com/tuxera/ntfs-3g/releaseshttps://github.com/tuxera/ntfs-3g/security/advisories/GHSA-xchm-ph5h-hw4xhttps://lists.debian.org/debian-lts-announce/2022/06/msg00017.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JPX6OUCQKZX4PN5DQPVDUFZCOOZUX7Z/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECDCISL24TYH4CTDFCUVF24WAKRSYF7F/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FAXFYIJWT5SHHRNPOJETM77EIMJ6ZP6I/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UEXHDCUSLJD2HSPMAAVZ5AWMPUOG6UI7/https://security.gentoo.org/glsa/202301-01https://www.debian.org/security/2022/dsa-5160
2022-05-26
Published