CVE-2021-39257 Denial of service in n/a

Medium 5.5 Published Updated

A crafted NTFS image causes infinite recursion in NTFS-3G, leading to stack exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-39257?

CVE-2021-39257 is a medium-severity denial of service 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

A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.

Weakness: CWE-674

Which versions are affected by CVE-2021-39257?

It affects 2 products.

Products include Debian Debian Linux, Tuxera Ntfs-3g.

How do I fix CVE-2021-39257?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-39257 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-6762, DEBIAN-CVE-2021-39257, GHSA-c7hf-64rq-w8mm, UBUNTU-CVE-2021-39257.

Is CVE-2021-39257 in your software?

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

Check your SBOMs for free