Out-of-bounds Read Affecting ntfs-3g package, versions <1:2013.1.13AR.1-2ubuntu2+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.08% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1404-NTFS3G-1583029
  • published1 Sept 2021
  • disclosed7 Sept 2021

Introduced: 1 Sep 2021

CVE-2021-33285  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 ntfs-3g to version 1:2013.1.13AR.1-2ubuntu2+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ntfs-3g package and not the ntfs-3g package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1