{"id":"ALPINE-CVE-2021-4122","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.","modified":"2026-08-27T22:18:01.654077410Z","published":"2022-08-24T16:15:09.427Z","upstream":["CVE-2021-4122"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-4122"}],"affected":[{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}},{"package":{"name":"cryptsetup","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/cryptsetup?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-4122.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}