CVE-2022-40284
Reported by mitre · Published November 6, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nbdkit-linuxdisk-plugin | errata.rockylinux.org | 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.aarch64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.aarch64 |
| hivex-devel | errata.rockylinux.org | 0:1.3.18-23.module+el8.10.0+1835+43f01cbb.x86_64, 0:1.3.18-23.module+el8.10.0+1835+43f01cbb.i686, 0:1.3.18-23.module+el8.10.0+1835+43f01cbb.aarch64, 0:1.3.18-23.module+el8.10.0+1590+a67ab969.x86_64, 0:1.3.18-23.module+el8.10.0+1590+a67ab969.i686, 0:1.3.18-23.module+el8.10.0+1590+a67ab969.aarch64 |
| seavgabios-bin | errata.rockylinux.org | 0:1.16.0-4.module+el8.9.0+1408+7b966129.noarch |
| nbdkit-curl-plugin | errata.rockylinux.org | 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.x86_64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.x86_64 |
| nbdkit-debuginfo | errata.rockylinux.org | 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.x86_64, 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.aarch64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.x86_64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.aarch64 |
| ocaml-hivex-debuginfo | errata.rockylinux.org | 0:1.3.18-23.module+el8.10.0+1835+43f01cbb.x86_64, 0:1.3.18-23.module+el8.10.0+1835+43f01cbb.i686, 0:1.3.18-23.module+el8.10.0+1590+a67ab969.x86_64, 0:1.3.18-23.module+el8.10.0+1590+a67ab969.i686 |
| ocaml-libguestfs | errata.rockylinux.org | 1:1.44.0-9.module+el8.10.0+1835+43f01cbb.rocky.rocky.x86_64, 1:1.44.0-9.module+el8.10.0+1590+a67ab969.rocky.x86_64 |
| nbdkit-basic-filters-debuginfo | errata.rockylinux.org | 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.x86_64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.x86_64 |
| perl-Sys-Guestfs-debuginfo | errata.rockylinux.org | 1:1.44.0-9.module+el8.10.0+1835+43f01cbb.rocky.rocky.aarch64, 1:1.44.0-9.module+el8.10.0+1590+a67ab969.rocky.aarch64 |
| nbdkit-tar-filter | errata.rockylinux.org | 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.x86_64, 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.aarch64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.x86_64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.aarch64 |
| nbdkit-gzip-filter | errata.rockylinux.org | 0:1.24.0-5.module+el8.10.0+1835+43f01cbb.x86_64, 0:1.24.0-5.module+el8.10.0+1590+a67ab969.x86_64 |
| ruby-libguestfs | errata.rockylinux.org | 1:1.44.0-9.module+el8.10.0+1835+43f01cbb.rocky.rocky.x86_64, 1:1.44.0-9.module+el8.10.0+1590+a67ab969.rocky.x86_64 |
71 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | ntfs-3g | 0 |
Timeline
- Nov 3, 2022 CVE Published
- Nov 7, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (5 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (4 in total, the first dated here)
- Jun 17, 2026 Coalition ESS Score
- Sep 20, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-40284
vulnetix vdb fixes CVE-2022-40284
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-40284/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20221121 [SECURITY] [DLA 3201-1] ntfs-3g security update mailing-list
- FEDORA-2022-4915124227 vendor-advisory
- FEDORA-2022-14f11bfc73 vendor-advisory
- FEDORA-2022-243616c548 vendor-advisory
- GLSA-202301-01 vendor-advisory