CVE-2022-40284

NameCVE-2022-40284
DescriptionA buffer overflow was discovered in NTFS-3G before 2022.10.3. Crafted metadata in an NTFS image can cause code execution. A local attacker can exploit this if the ntfs-3g binary is setuid root. A physically proximate attacker can exploit this if NTFS-3G software is configured to execute upon attachment of an external storage device.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3201-1, DSA-5270-1, ELA-736-1

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+deb9u3vulnerable
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-3gsourcejessie1:2014.2.15AR.2-1+deb8u7ELA-736-1
ntfs-3gsourcestretch1:2016.2.22AR.1+dfsg-1+deb9u4ELA-736-1
ntfs-3gsourcebuster1:2017.3.23AR.3-3+deb10u3DLA-3201-1
ntfs-3gsourcebullseye1:2017.3.23AR.3-4+deb11u3DSA-5270-1
ntfs-3gsource(unstable)1:2022.10.3-1

Notes

https://www.openwall.com/lists/oss-security/2022/10/31/2
https://github.com/tuxera/ntfs-3g/commit/18bfc676119a1188e8135287b8327b0760ba44a1 (2022.10.3)
https://github.com/tuxera/ntfs-3g/commit/76c3a799a97fbcedeeeca57f598be508ae2a1656 (2022.10.3)

Search for package or bug name: Reporting problems