Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831157 (CVE-2021-4122) - <sys-fs/cryptsetup-{2.3.7, 2.4.3}: decryption through LUKS2 reencryption crash recovery
Summary: <sys-fs/cryptsetup-{2.3.7, 2.4.3}: decryption through LUKS2 reencryption cras...
Status: IN_PROGRESS
Alias: CVE-2021-4122
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://www.openwall.com/lists/oss-se...
Whiteboard: B3 [glsa? cleanup]
Keywords:
Depends on: 831982
Blocks:
  Show dependency tree
 
Reported: 2022-01-13 21:46 UTC by John Helmert III
Modified: 2022-01-28 02:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-01-13 21:46:45 UTC
https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes

"CVE-2021-4122 describes a possible attack against data confidentiality
through LUKS2 online reencryption extension crash recovery.

An attacker can modify on-disk metadata to simulate decryption in
progress with crashed (unfinished) reencryption step and persistently
decrypt part of the LUKS device.

This attack requires repeated physical access to the LUKS device but
no knowledge of user passphrases."

Fixed in cryptsetup 2.4.3 and 2.3.7, please bump.
Comment 1 Larry the Git Cow gentoo-dev 2022-01-14 15:07:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16ff43bbd3fa6ac5f4998b1eabaecbeb0661f465

commit 16ff43bbd3fa6ac5f4998b1eabaecbeb0661f465
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-14 15:07:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-14 15:07:26 +0000

    sys-fs/cryptsetup: add 2.4.3
    
    Bug: https://bugs.gentoo.org/831157
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/cryptsetup/Manifest                |   1 +
 sys-fs/cryptsetup/cryptsetup-2.4.3.ebuild | 136 ++++++++++++++++++++++++++++++
 2 files changed, 137 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12bc0d444254ce100b1a422664ae2f7d3612745

commit e12bc0d444254ce100b1a422664ae2f7d3612745
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-14 15:07:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-14 15:07:25 +0000

    sys-fs/cryptsetup: add 2.3.7
    
    Bug: https://bugs.gentoo.org/831157
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/cryptsetup/Manifest                |   1 +
 sys-fs/cryptsetup/cryptsetup-2.3.7.ebuild | 127 ++++++++++++++++++++++++++++++
 2 files changed, 128 insertions(+)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-01-28 02:39:26 UTC
Please cleanup