usn-5286-1
Vulnerability from osv_ubuntu
Published
2022-02-15 15:20
Modified
2026-04-22 07:37
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.


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-4122",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "cryptsetup",
            "binary_version": "2:2.2.2-3ubuntu2.4"
          },
          {
            "binary_name": "cryptsetup-bin",
            "binary_version": "2:2.2.2-3ubuntu2.4"
          },
          {
            "binary_name": "cryptsetup-initramfs",
            "binary_version": "2:2.2.2-3ubuntu2.4"
          },
          {
            "binary_name": "cryptsetup-run",
            "binary_version": "2:2.2.2-3ubuntu2.4"
          },
          {
            "binary_name": "libcryptsetup12",
            "binary_version": "2:2.2.2-3ubuntu2.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "cryptsetup",
        "purl": "pkg:deb/ubuntu/cryptsetup@2:2.2.2-3ubuntu2.4?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:2.2.2-3ubuntu2.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:2.2.0-3ubuntu1",
        "2:2.2.1-1ubuntu1",
        "2:2.2.2-1ubuntu1",
        "2:2.2.2-2ubuntu1",
        "2:2.2.2-3ubuntu1",
        "2:2.2.2-3ubuntu2",
        "2:2.2.2-3ubuntu2.2",
        "2:2.2.2-3ubuntu2.3"
      ]
    }
  ],
  "aliases": [],
  "details": "Milan Broz discovered that cryptsetup incorrectly handled LUKS2\nreencryption recovery. An attacker with physical access to modify the\nencrypted device header may trigger the device to be unencrypted the next\ntime it is mounted by the user.\n\nOn Ubuntu 20.04 LTS, this issue was fixed by disabling the online\nreencryption feature.\n",
  "id": "USN-5286-1",
  "modified": "2026-04-22T07:37:01Z",
  "published": "2022-02-15T15:20:44Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5286-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-4122"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "cryptsetup vulnerability",
  "upstream": [
    "UBUNTU-CVE-2021-4122"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…