CVE-2021-33285 Memory corruption in n/a

Medium 6.7 Published Updated

A heap buffer overflow in NTFS-3G allows attackers to disclose memory or cause denial of service by mounting a crafted NTFS partition.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-33285?

CVE-2021-33285 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 7 Sep 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-20

Which versions are affected by CVE-2021-33285?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Tuxera Ntfs-3g.

How do I fix CVE-2021-33285?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-33285 being exploited?

There is no known exploitation of CVE-2021-33285 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-6748, DEBIAN-CVE-2021-33285, UBUNTU-CVE-2021-33285.

Is CVE-2021-33285 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free