CVE-2021-39257

NameCVE-2021-39257
DescriptionA crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
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