Advisory

UBUNTU-CVE-2021-4122

Also known as: CVE-2021-4122

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Dates

Published
2022-01-13 00:00 UTC
Modified
2026-04-22 13:01 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.

cryptsetup

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:2.4.3-1ubuntu1 (ecosystem)

Fixed versions

2:2.4.3-1ubuntu1

Fix

  • Fixed version 2:2.4.3-1ubuntu1
    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