Uncontrolled Recursion Affecting ntfs-3g package, versions <2021.8.22-3.8.1


Severity

Recommended
high

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.38% (33rd 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-SLES152-NTFS3G-2665460
  • published14 Apr 2022
  • disclosed7 Sept 2021

Introduced: 7 Sep 2021

CVE-2021-39257  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 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.2 relevant fixed versions and status.

A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.

CVSS Base Scores

version 3.1