CVE-2021-33285
Description
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.
How to fix
- tuxera ntfs-3g2021.8.22 or later
- debian.org/security/2021/dsa-4971
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/
- security.gentoo.org/glsa/202301-01
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tuxera ntfs-3g | v < 2021.8.22 | 2021.8.22 |
| redhat enterprise_linux | 7.0, 8.0 | — |
| fedoraproject fedora | 33, 34, 35 | — |
| debian debian_linux | 9.0, 10.0, 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.