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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2021-33285 has been classified as a high severity vulnerability due to its ability to cause memory disclosure or denial of service.
To fix CVE-2021-33285, update to NTFS-3G version 2021.8.22 or later.
CVE-2021-33285 affects systems using NTFS-3G versions prior to 2021.8.22 on Red Hat and Debian distributions.
Exploiting CVE-2021-33285 can lead to memory disclosure or denial of service for the affected systems.
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.