CVE-2021-33285
Reported by mitre · Published September 7, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ntfs-3g | Arch Linux | 2021.8.22-1 |
| ntfs-3g | Ubuntu:Pro:14.04:LTS | 1:2013.1.13AR.1-2ubuntu2+esm1 |
| ntfs-3g | tuxera | 2021.8.22 |
| ntfs-3g | Ubuntu:20.04:LTS | 1:2017.3.23AR.3-3ubuntu1.1 |
| ntfs-3g | Ubuntu:22.04:LTS | 1:2017.3.23AR.3-3ubuntu5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | ntfs-3g | 0 |
| n/a | n/a | * |
Timeline
- Sep 7, 2021 CVE Published
- Sep 8, 2021 EPSS Score (30 in total, the first dated here)
- Dec 3, 2025 CVE Updated
- Mar 7, 2026 Distribution Patch (7 in total, the first dated here)
- Mar 7, 2026 Security Advisory (11 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-33285
vulnetix vdb fixes CVE-2021-33285
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-33285/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20210830 NTFS3G-SA-2021-0001: Multiple buffer overflows in all versions of NTFS-3G mailing-list
- DSA-4971 vendor-advisory
- FEDORA-2021-e7c8ba6301 vendor-advisory
- FEDORA-2021-5b1dac797b vendor-advisory
- [debian-lts-announce] 20211116 [SECURITY] [DLA 2819-1] ntfs-3g security update mailing-list
- GLSA-202301-01 vendor-advisory