DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2819-1, DSA-4971-1
NVD severitymedium
Debian Bugs988386

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ntfs-3g (PTS)stretch1:2016.2.22AR.1+dfsg-1+deb9u1vulnerable
stretch (security)1:2016.2.22AR.1+dfsg-1+deb9u2fixed
buster, buster (security)1:2017.3.23AR.3-3+deb10u1fixed
bullseye (security), bullseye1:2017.3.23AR.3-4+deb11u1fixed
bookworm, sid1:2021.8.22-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


Search for package or bug name: Reporting problems