7.8
CWE
119 787
Advisory Published
CVE Published
CVE Published
Updated

CVE-2021-33285: Buffer Overflow

First published: Tue May 11 2021(Updated: )

In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial of service. The vulnerability is caused by an out-of-bound buffer access which can be triggered by mounting a crafted ntfs partition. The root cause is a missing consistency check after reading an MFT record : the "bytes_in_use" field should be less than the "bytes_allocated" field. When it is not, the parsing of the records proceeds into the wild.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/ntfs3g<2021.8.22
2021.8.22
debian/ntfs-3g<=1:2017.3.23AR.3-4
1:2021.8.22-1
1:2017.3.23AR.3-4+deb11u1
1:2017.3.23AR.3-3+deb10u1
debian/2017.3.23AR.3<=undefined
debian/ntfs-3g
1:2017.3.23AR.3-4+deb11u3
1:2022.10.3-1
1:2022.10.3-3
ntfs-3g<2021.8.22
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=8.0
Fedora=33
Fedora=34
Fedora=35
Debian=9.0
Debian=10.0
Debian=11.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-33285?

    CVE-2021-33285 has been classified as a high severity vulnerability due to its ability to cause memory disclosure or denial of service.

  • How do I fix CVE-2021-33285?

    To fix CVE-2021-33285, update to NTFS-3G version 2021.8.22 or later.

  • What types of systems are affected by CVE-2021-33285?

    CVE-2021-33285 affects systems using NTFS-3G versions prior to 2021.8.22 on Red Hat and Debian distributions.

  • What are the potential consequences of exploiting CVE-2021-33285?

    Exploiting CVE-2021-33285 can lead to memory disclosure or denial of service for the affected systems.

  • Is there a workaround for CVE-2021-33285 until I can apply a patch?

    Disabling the use of NTFS-3G or avoiding the handling of specially crafted NTFS attributes can serve as a temporary workaround for CVE-2021-33285.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203