CVE-2021-46790
published 2022-05-02CVE-2021-46790: ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.50%
39.3th percentile
ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however, it is shipped by some Linux distributions.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 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 | — | — |
| 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 |
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.
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-274j-jr8v-77f7: ntfsck in NTFS-3G through 2021
ghsa_unreviewed·2022-05-03
CVE-2021-46790 [CRITICAL] CWE-787 GHSA-274j-jr8v-77f7: ntfsck in NTFS-3G through 2021
ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however, it is shipped by some Linux distributions.
OSV
CVE-2021-46790: ntfsck in NTFS-3G through 2021
osv·2022-05-02·CVSS 7.8
CVE-2021-46790 [HIGH] CVE-2021-46790: ntfsck in NTFS-3G through 2021
ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however, it is shipped by some Linux distributions.
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
Ubuntu
NTFS-3G vulnerability
vendor_ubuntu·2022-05-30
CVE-2021-46790 NTFS-3G vulnerability
Title: NTFS-3G vulnerability
Summary: NTFS-3G could be made to crash or run programs if it opened a
specially crafted file.
It was discovered that NTFS-3G was incorrectly validating NTFS
metadata in its ntfsck tool by not performing boundary checks. A
local attacker could possibly use this issue to cause a denial of
service or to execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however it is shipped by some Linux distributio
vendor_msrc·2022-05-10·CVSS 7.8
CVE-2021-46790 [HIGH] CWE-787 ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however it is shipped by some Linux distributio
ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however it is shipped by some Linux distributions.
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
Red Hat
ntfs-3g: heap-based buffer overflow in ntfsck
vendor_redhat·2021-11-25·CVSS 7.8
CVE-2021-46790 [HIGH] CWE-122 ntfs-3g: heap-based buffer overflow in ntfsck
ntfs-3g: heap-based buffer overflow in ntfsck
ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however, it is shipped by some Linux distributions.
A vulnerability was found in NTFS-3G, specifically in the ntfsck utility. 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
Debian
CVE-2021-46790: ntfs-3g - ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving b...
vendor_debian·2021·CVSS 7.8
CVE-2021-46790 [HIGH] CVE-2021-46790: ntfs-3g - ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving b...
ntfsck in NTFS-3G through 2021.8.22 has a heap-based buffer overflow involving buffer+512*3-2. NOTE: the upstream position is that ntfsck is deprecated; however, it is shipped by some Linux distributions.
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.
http://www.openwall.com/lists/oss-security/2022/05/26/1https://github.com/tuxera/ntfs-3g/issues/16https://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://www.debian.org/security/2022/dsa-5160http://www.openwall.com/lists/oss-security/2022/05/26/1https://github.com/tuxera/ntfs-3g/issues/16https://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://www.debian.org/security/2022/dsa-5160
2022-05-02
Published