Denial of Service (DoS) Affecting dosfstools/dosfstools package, versions [0,4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (37th 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-UNMANAGED-DOSFSTOOLSDOSFSTOOLS-2367102
  • published26 Jan 2022
  • disclosed3 Jun 2016
  • creditUnknown

Introduced: 3 Jun 2016

CVE-2015-8872  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade dosfstools/dosfstools to version 4.0 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). The set_fat function in fat.c in dosfstools before 4.0 might allow attackers to corrupt a FAT12 filesystem or cause a denial of service (invalid memory read and crash) by writing an odd number of clusters to the third to last entry on a FAT12 filesystem, which triggers an "off-by-two error."

CVSS Base Scores

version 3.1