CVE-2021-33285

high

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.

References

https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jp

https://bugzilla.redhat.com/show_bug.cgi?id=2001608

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988386

https://www.openwall.com/lists/oss-security/2021/08/30/1

http://www.openwall.com/lists/oss-security/2021/08/30/1

https://www.debian.org/security/2021/dsa-4971

https://lists.fedoraproject.org/archives/list/[email protected]/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/

https://lists.fedoraproject.org/archives/list/[email protected]/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/

https://lists.debian.org/debian-lts-announce/2021/11/msg00013.html

https://security.gentoo.org/glsa/202301-01

Details

Source: MITRE

Published: 2021-09-07

Updated: 2023-01-13

Type: CWE-787

Risk Information

CVSS v2

Base Score: 6.9

Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.4

Severity: MEDIUM

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH