Insufficient Verification of Data Authenticity Affecting cryptsetup/cryptsetup package, versions [2.2.0,2.4.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (24th 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-CRYPTSETUPCRYPTSETUP-2992876
  • published25 Aug 2022
  • disclosed25 Aug 2022
  • creditMilan Broz

Introduced: 25 Aug 2022

CVE-2021-4122  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade cryptsetup/cryptsetup to version 2.4.3 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity. It was found that a specially crafted LUKS header could trick cryptsetup into disabling encryption during the recovery of the device. An attacker with physical access to the medium, such as a flash disk, could use this flaw to force a user into permanently disabling the encryption layer of that medium.

CVSS Base Scores

version 3.1