{"id":"ALPINE-CVE-2022-40284","details":"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.","modified":"2026-08-27T22:18:01.889246834Z","published":"2022-11-06T23:15:09.463Z","upstream":["CVE-2022-40284"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-40284"}],"affected":[{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}},{"package":{"name":"ntfs-3g","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/ntfs-3g?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.10.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}