Out-of-Bounds 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.45% (39th 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 Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DOSFSTOOLSDOSFSTOOLS-2367103
  • published26 Jan 2022
  • disclosed3 Jun 2016
  • creditUnknown

Introduced: 3 Jun 2016

CVE-2016-4804  (opens in a new tab)
CWE-119  (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 Out-of-Bounds. The read_boot function in boot.c in dosfstools before 4.0 allows attackers to cause a denial of service (crash) via a crafted filesystem, which triggers a heap-based buffer overflow in the (1) read_fat function or an out-of-bounds heap read in (2) get_fat function.

CVSS Base Scores

version 3.1