OESA-2022-1532

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1532
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1532.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2022-1532
Upstream
Published
2022-02-19T11:03:32Z
Modified
2025-09-03T06:17:39.652512Z
Summary
cryptsetup security update
Details

cryptsetup is a utility used to conveniently set up disk encryption based on the DMCrypt kernel module.

Security Fix(es):

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.(CVE-2021-4122)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / cryptsetup

Package

Name
cryptsetup
Purl
pkg:rpm/openEuler/cryptsetup&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-6.oe1

Ecosystem specific

{
    "x86_64": [
        "cryptsetup-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-reencrypt-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-devel-2.3.3-6.oe1.x86_64.rpm",
        "veritysetup-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-debugsource-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-debuginfo-2.3.3-6.oe1.x86_64.rpm",
        "integritysetup-2.3.3-6.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "integritysetup-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-debugsource-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-reencrypt-2.3.3-6.oe1.aarch64.rpm",
        "veritysetup-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-devel-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-debuginfo-2.3.3-6.oe1.aarch64.rpm"
    ],
    "noarch": [
        "cryptsetup-help-2.3.3-6.oe1.noarch.rpm"
    ],
    "src": [
        "cryptsetup-2.3.3-6.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / cryptsetup

Package

Name
cryptsetup
Purl
pkg:rpm/openEuler/cryptsetup&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-6.oe1

Ecosystem specific

{
    "x86_64": [
        "cryptsetup-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-reencrypt-2.3.3-6.oe1.x86_64.rpm",
        "integritysetup-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-debuginfo-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-debugsource-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-devel-2.3.3-6.oe1.x86_64.rpm",
        "veritysetup-2.3.3-6.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "cryptsetup-reencrypt-2.3.3-6.oe1.aarch64.rpm",
        "integritysetup-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-debuginfo-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-debugsource-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-devel-2.3.3-6.oe1.aarch64.rpm",
        "veritysetup-2.3.3-6.oe1.aarch64.rpm"
    ],
    "noarch": [
        "cryptsetup-help-2.3.3-6.oe1.noarch.rpm"
    ],
    "src": [
        "cryptsetup-2.3.3-6.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / cryptsetup

Package

Name
cryptsetup
Purl
pkg:rpm/openEuler/cryptsetup&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-6.oe1

Ecosystem specific

{
    "x86_64": [
        "cryptsetup-debugsource-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-debuginfo-2.3.3-6.oe1.x86_64.rpm",
        "veritysetup-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-devel-2.3.3-6.oe1.x86_64.rpm",
        "cryptsetup-reencrypt-2.3.3-6.oe1.x86_64.rpm",
        "integritysetup-2.3.3-6.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "cryptsetup-debugsource-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-devel-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-debuginfo-2.3.3-6.oe1.aarch64.rpm",
        "veritysetup-2.3.3-6.oe1.aarch64.rpm",
        "integritysetup-2.3.3-6.oe1.aarch64.rpm",
        "cryptsetup-reencrypt-2.3.3-6.oe1.aarch64.rpm"
    ],
    "noarch": [
        "cryptsetup-help-2.3.3-6.oe1.noarch.rpm"
    ],
    "src": [
        "cryptsetup-2.3.3-6.oe1.src.rpm"
    ]
}