{"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-03-09T01:23:20.523067Z","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"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}],"versions":["2009.11.14-r0","2009.4.4-r0","2010.10.2-r0","2010.3.6-r0","2010.3.6-r1","2010.5.16-r0","2010.5.22-r0","2010.8.8-r0","2011.1.15-r0","2011.4.12-r0","2011.4.12-r1","2012.1.15-r0","2013.1.13-r0","2013.1.13-r1","2014.2.15-r0","2015.3.14-r0","2016.2.22-r0","2016.2.22-r1","2017.3.23-r0","2017.3.23-r1","2017.3.23-r2","2017.3.23-r3","2021.8.22-r0","2022.5.17-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}