{"id":"CVE-2021-33285","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2021-09-07T00:00:00.000Z","updatedAt":"2025-12-03T14:52:54.868Z","severity":{"score":6.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2021/08/30/1","https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jp","https://www.openwall.com/lists/oss-security/2021/08/30/1","https://bugzilla.redhat.com/show_bug.cgi?id=2001608","https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988386","https://www.debian.org/security/2021/dsa-4971","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/","https://lists.debian.org/debian-lts-announce/2021/11/msg00013.html","https://security.gentoo.org/glsa/202301-01"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:48:36.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/33xxx/CVE-2021-33285.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-33285","state":"PUBLISHED","datePublished":"2021-09-07T00:00:00.000Z","dateUpdated":"2025-12-03T14:52:54.868Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-05-20T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2021/08/30/1","name":"[oss-security] 20210830 NTFS3G-SA-2021-0001: Multiple buffer overflows in all versions of NTFS-3G","tags":["mailing-list"]},{"url":"https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jp"},{"url":"https://www.openwall.com/lists/oss-security/2021/08/30/1"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2001608"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988386"},{"url":"https://www.debian.org/security/2021/dsa-4971","name":"DSA-4971","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/","name":"FEDORA-2021-e7c8ba6301","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/","name":"FEDORA-2021-5b1dac797b","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00013.html","name":"[debian-lts-announce] 20211116 [SECURITY] [DLA 2819-1] ntfs-3g security update","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202301-01","name":"GLSA-202301-01","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-01-11T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2021/08/30/1","name":"[oss-security] 20210830 NTFS3G-SA-2021-0001: Multiple buffer overflows in all versions of NTFS-3G","tags":["mailing-list","x_transferred"]},{"url":"https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jp","tags":["x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2021/08/30/1","tags":["x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2001608","tags":["x_transferred"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988386","tags":["x_transferred"]},{"url":"https://www.debian.org/security/2021/dsa-4971","name":"DSA-4971","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/","name":"FEDORA-2021-e7c8ba6301","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/","name":"FEDORA-2021-5b1dac797b","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00013.html","name":"[debian-lts-announce] 20211116 [SECURITY] [DLA 2819-1] ntfs-3g security update","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202301-01","name":"GLSA-202301-01","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:42:20.414Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.7,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"HIGH","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-12-03T14:52:50.264659Z","id":"CVE-2021-33285","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","type":"CWE","lang":"en","description":"CWE-20 Improper Input Validation"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-03T14:52:54.868Z"}}]}}}