Skip to content

CVE-2021-33285 In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial...

HighCVSS 7.8 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial of service. The vulnerability is caused by an out-of-bound buffer access which can be triggered by mounting a crafted ntfs partition. The root cause is a missing consistency check after reading an MFT record : the "bytes_in_use" field should be less than the "bytes_allocated" field. When it is not, the parsing of the records proceeds into the wild.

Upgrade path

12 packages: 9 fixed.

PackageAffectedFixed inStatus
debian/ntfs-3g(Debian 12) < 1:2021.8.22-2 1:2021.8.22-2 Fixed
debian/ntfs-3g(Debian 13) < 1:2021.8.22-2 1:2021.8.22-2 Fixed
debian/ntfs-3g(Debian 14) < 1:2021.8.22-2 1:2021.8.22-2 Fixed
Tuxera NTFS-3G < 2021.8.22 2021.8.22 Fixed
ubuntu/ntfs-3g(Ubuntu 18.04) < 1:2017.3.23-2ubuntu0.18.04.3; = 1:2016.2.22AR.2-2; = 1:2017.3.23-2; = 1:2017.3.23-2ubuntu0.18.04.1 +1 more 1:2017.3.23-2ubuntu0.18.04.3 Fixed
ubuntu/ntfs-3g(Ubuntu 20.04) < 1:2017.3.23AR.3-3ubuntu1.1; = 1:2017.3.23AR.3-3ubuntu1 1:2017.3.23AR.3-3ubuntu1.1 Fixed
ubuntu/ntfs-3g(Ubuntu 22.04) < 1:2017.3.23AR.3-3ubuntu5 1:2017.3.23AR.3-3ubuntu5 Fixed
ubuntu/ntfs-3g(Ubuntu Pro 14.04) < 1:2013.1.13AR.1-2ubuntu2+esm1; = 1:2013.1.13AR.1-2ubuntu1; = 1:2013.1.13AR.1-2ubuntu2 1:2013.1.13AR.1-2ubuntu2+esm1 Fixed
ubuntu/ntfs-3g(Ubuntu Pro 16.04) < 1:2015.3.14AR.1-1ubuntu0.3+esm1; = 1:2014.2.15AR.3-3; = 1:2015.3.14AR.1-1; = 1:2015.3.14AR.1-1build1 +3 more 1:2015.3.14AR.1-1ubuntu0.3+esm1 Fixed
debian linux = 9.0; = 10.0; = 11.0 No fix listed Versions listed
fedoraproject fedora = 33; = 34; = 35 No fix listed Versions listed
redhat enterprise linux = 7.0; = 8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/ntfs-3g(Debian:12) < 1:2021.8.22-2 1:2021.8.22-2
debian/ntfs-3g(Debian:13) < 1:2021.8.22-2 1:2021.8.22-2
debian/ntfs-3g(Debian:14) < 1:2021.8.22-2 1:2021.8.22-2
ubuntu/ntfs-3g(Ubuntu:22.04) < 1:2017.3.23AR.3-3ubuntu5 1:2017.3.23AR.3-3ubuntu5
Tuxera NTFS-3G < 2021.8.22 2021.8.22
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:14.04) < 1:2013.1.13AR.1-2ubuntu2+esm1 1:2013.1.13AR.1-2ubuntu2+esm1
ubuntu/ntfs-3g(Ubuntu:Pro:14.04) = 1:2013.1.13AR.1-2ubuntu1 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:14.04) = 1:2013.1.13AR.1-2ubuntu2 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:16.04) < 1:2015.3.14AR.1-1ubuntu0.3+esm1 1:2015.3.14AR.1-1ubuntu0.3+esm1
ubuntu/ntfs-3g(Ubuntu:Pro:16.04) = 1:2014.2.15AR.3-3 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:16.04) = 1:2015.3.14AR.1-1 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:16.04) = 1:2015.3.14AR.1-1build1 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:16.04) = 1:2015.3.14AR.1-1ubuntu0.1 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:16.04) = 1:2015.3.14AR.1-1ubuntu0.2 No fix listed
ubuntu/ntfs-3g(Ubuntu:Pro:16.04) = 1:2015.3.14AR.1-1ubuntu0.3 No fix listed
ubuntu/ntfs-3g(Ubuntu:18.04) < 1:2017.3.23-2ubuntu0.18.04.3 1:2017.3.23-2ubuntu0.18.04.3
ubuntu/ntfs-3g(Ubuntu:18.04) = 1:2016.2.22AR.2-2 No fix listed
Show 5 more
ProductAffected versionsFixed in
ubuntu/ntfs-3g(Ubuntu:18.04) = 1:2017.3.23-2 No fix listed
ubuntu/ntfs-3g(Ubuntu:18.04) = 1:2017.3.23-2ubuntu0.18.04.1 No fix listed
ubuntu/ntfs-3g(Ubuntu:18.04) = 1:2017.3.23-2ubuntu0.18.04.2 No fix listed
ubuntu/ntfs-3g(Ubuntu:20.04) < 1:2017.3.23AR.3-3ubuntu1.1 1:2017.3.23AR.3-3ubuntu1.1
ubuntu/ntfs-3g(Ubuntu:20.04) = 1:2017.3.23AR.3-3ubuntu1 No fix listed

References