CVE-2021-33285

NameCVE-2021-33285
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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2819-1, DSA-4971-1, ELA-523-1
Debian Bugs988386

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ntfs-3g (PTS)jessie, jessie (lts)1:2014.2.15AR.2-1+deb8u7fixed
stretch (security)1:2016.2.22AR.1+dfsg-1+deb9u3fixed
stretch (lts), stretch1:2016.2.22AR.1+dfsg-1+deb9u5fixed
buster, buster (lts)1:2017.3.23AR.3-4+deb11u4~deb10u1fixed
buster (security)1:2017.3.23AR.3-3+deb10u3fixed
bullseye1:2017.3.23AR.3-4+deb11u4fixed
bullseye (security)1:2017.3.23AR.3-4+deb11u3fixed
bookworm1:2022.10.3-1+deb12u2fixed
sid, trixie1:2022.10.3-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ntfs-3gsourceexperimental1:2021.8.22-1
ntfs-3gsourcejessie1:2014.2.15AR.2-1+deb8u5ELA-523-1
ntfs-3gsourcestretch1:2016.2.22AR.1+dfsg-1+deb9u2DLA-2819-1
ntfs-3gsourcebuster1:2017.3.23AR.3-3+deb10u1DSA-4971-1
ntfs-3gsourcebullseye1:2017.3.23AR.3-4+deb11u1DSA-4971-1
ntfs-3gsource(unstable)1:2021.8.22-2988386

Notes

https://www.openwall.com/lists/oss-security/2021/08/30/1
https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jp

Search for package or bug name: Reporting problems