CVE-2022-40284: NTFS-3G - Buffer Overflow
- Cve: CVE-2022-40284
- Name: NTFS-3G - Buffer Overflow
- 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.
- Impact: Local attackers can execute arbitrary code with root privileges or escalate privileges upon storage device connection.
- Remediation: Update to version 2022.10.3 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs local access or physical proximity with configured external storage
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00381
- Epss percentile: 0.32862
- Assignee: [email protected]
- Published at: 2022-11-06T23:15:09Z
- Age in days: 1479
- Modified at: 2026-06-17T05:01:13Z
- Patch available: yes
- References total: 7
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-40284
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| tuxera:ntfs-3g | < 2022.10.3 | /v1/products/tuxera/ntfs-3g |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 37, = 36, = 35 | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tuxera/ntfs-3g | releases | yes | /v1/repositories/tuxera/ntfs-3g |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports