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

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ntfs-3g (PTS)buster1:2017.3.23AR.3-3+deb10u2vulnerable
buster (security)1:2017.3.23AR.3-3+deb10u3fixed
bullseye (security), bullseye1:2017.3.23AR.3-4+deb11u3fixed
trixie, bookworm1:2022.10.3-1fixed
sid1:2022.10.3-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
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