Advisory

USN-5286-1

Also known as: CVE-2021-4122

Summary

cryptsetup vulnerability

Details

Milan Broz discovered that cryptsetup incorrectly handled LUKS2
reencryption recovery. An attacker with physical access to modify the
encrypted device header may trigger the device to be unencrypted the next
time it is mounted by the user.

On Ubuntu 20.04 LTS, this issue was fixed by disabling the online
reencryption feature.

Severity

Not rated by the source.

Dates

Published
2022-02-15 15:20 UTC
Modified
2026-04-22 10:20 UTC

Affected packages and fixes

cryptsetup

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:2.2.2-3ubuntu2.4 (ecosystem)

Fixed versions

2:2.2.2-3ubuntu2.4

Fix

  • Fixed version 2:2.2.2-3ubuntu2.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences