CVE-2022-40284: Buffer Overflow

Published Nov 6, 2022
·
Updated

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.

Affected Software

5 affected components
tuxera NTFS-3G<2022.10.3
Debian Debian Linux=10.0
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ntfs-3g to a version that resolves this vulnerability.

    Fixed in 2022.10.3
  2. Configuration

    Ensure the ntfs-3g binary is not setuid root to prevent local exploitation.

    ntfs-3g setuid-root permission on ntfs-3g binary = remove/disable setuid root
  3. Configuration

    Disable configuring NTFS-3G to execute on attachment of external storage devices to prevent physically proximate attackers from triggering exploitation via crafted NTFS metadata.

    System automount/attachment handling for external storage execute ntfs-3g on device attachment = disabled

Event History

Nov 6, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Aug 30, 2023
Data Sourced
via Red Hat·12:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-40284?

CVE-2022-40284 has a high severity due to its potential to enable code execution through a buffer overflow.

2

How do I fix CVE-2022-40284?

To fix CVE-2022-40284, update the NTFS-3G software to version 2022.10.3 or later on affected systems.

3

Who is affected by CVE-2022-40284?

CVE-2022-40284 affects users of NTFS-3G prior to version 2022.10.3, particularly in settings where the binary is setuid root.

4

Can CVE-2022-40284 be exploited remotely?

CVE-2022-40284 requires local access to exploit, making it less likely to be used in remote attacks.

5

What is the impact of CVE-2022-40284?

The impact of CVE-2022-40284 includes potential unauthorized code execution, which could compromise system integrity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203