{
  "threat_severity" : "Moderate",
  "public_date" : "2022-01-13T00:00:00Z",
  "bugzilla" : {
    "description" : "cryptsetup: disable encryption via header rewrite",
    "id" : "2032401",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2032401"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.9",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-349",
  "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.", "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." ],
  "statement" : "Red Hat Enterprise Linux version 7 and older are not affected since they do not support online reencryption.",
  "acknowledgement" : "Red Hat would like to thank Milan Broz for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-02-01T00:00:00Z",
    "advisory" : "RHSA-2022:0370",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "cryptsetup-0:2.3.3-4.el8_5.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-02-01T00:00:00Z",
    "advisory" : "RHSA-2022:0370",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "cryptsetup-0:2.3.3-4.el8_5.1"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "cryptsetup",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "cryptsetup",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-4122\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-4122\nhttps://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes" ],
  "name" : "CVE-2021-4122",
  "csaw" : false
}