CVE-2022-40284
Vulnerability Summary
Timeline
Description
A 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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.37%• Percentile: 31%
Techniques & Countermeasures
- CWE-120•Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Affected Systems
- alpine•ntfs-3g
< 2022.10.3-r0 | < 2022.10.3-r0 | < 2022.10.3-r0 | < 2022.10.3-r0 | < 2022.10.3-r0 | < 2022.10.3-r0 | < 2022.10.3-r0 | < 2022.10.3-r0
- debian•ntfs-3g
< 1:2017.3.23AR.3-4+deb11u3 | < 1:2022.10.3-1 | < 1:2022.10.3-1 | < 1:2022.10.3-1
- debian•debian_linux
10.0
- fedoraproject•fedora
35 | 36 | 37
- tuxera•ntfs-3g
< 2022.10.3
References (9)
- https://github.com/tuxera/ntfs-3g/releases
- http://www.openwall.com/lists/oss-security/2022/10/31/2
- https://lists.debian.org/debian-lts-announce/2022/11/msg00029.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IA2D4PYOR7ABI7BWBMMMYKY2OPHTV2NI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2BOQ7YLFT43KLXEN3EB6CS4DP635RJWP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UGDKGXA4R2ZVUQ3CT4D4YGTFMNZQA7HW/
- https://security.gentoo.org/glsa/202301-01
- https://security-tracker.debian.org/tracker/CVE-2022-40284
- https://security.alpinelinux.org/vuln/CVE-2022-40284