Acceptance of Extraneous Untrusted Data With Trusted Data Affecting cryptsetup-libs package, versions <0:2.3.3-4.el8_5.1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-CRYPTSETUPLIBS-2340931
- published 14 Jan 2022
- disclosed 13 Jan 2022
Introduced: 13 Jan 2022
CVE-2021-4122 Open this link in a new tabHow to fix?
Upgrade Centos:8
cryptsetup-libs
to version 0:2.3.3-4.el8_5.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream cryptsetup-libs
package and not the cryptsetup-libs
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2021-4122
- https://access.redhat.com/errata/RHSA-2022:0370
- https://bugzilla.redhat.com/show_bug.cgi?id=2031859
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c