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.
References (10)
Core 10
Core References
Mailing List, Third Party Advisory mailing-list
http://www.openwall.com/lists/oss-security/2021/08/30/1
Third Party Advisory vendor-advisory
https://www.debian.org/security/2021/dsa-4971
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2021/11/msg00013.html
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202301-01
Issue Tracking, Mailing List, Third Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988386
Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2001608
Third Party Advisory
https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jp
Mailing List, Third Party Advisory
https://www.openwall.com/lists/oss-security/2021/08/30/1
Scores
CVSS v3
7.8
EPSS
0.0004
EPSS Percentile
11.2%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-20
CWE-787
Status
published
Products (9)
debian/debian_linux
9.0
debian/debian_linux
10.0
debian/debian_linux
11.0
fedoraproject/fedora
33
fedoraproject/fedora
34
fedoraproject/fedora
35
redhat/enterprise_linux
7.0
redhat/enterprise_linux
8.0 (2 CPE variants)
tuxera/ntfs-3g
< 2021.8.22
Published
Sep 07, 2021
Tracked Since
Feb 18, 2026