Out-of-bounds Write Affecting ntfs-3g package, versions <2021.8.22-3.8.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating

    Threat Intelligence

    EPSS
    0.05% (22nd 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 ID SNYK-SLES153-NTFS3G-2664935
  • published 14 Apr 2022
  • disclosed 7 Sep 2021

How to fix?

Upgrade SLES:15.3 ntfs-3g to version 2021.8.22-3.8.1 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 SLES. See How to fix? for SLES:15.3 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
Expand this section

NVD

7.8 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

SUSE

7.8 high
Expand this section

Red Hat

7.8 high