
CVE catalog
CVE-2020-14382
cryptsetup: CVE-2020-14382
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.16% · Oct 25, 2026
A vulnerability was found in upstream release cryptsetup-2.2.0 where, there's a bug in LUKS2 format validation code, that is effectively invoked on every device/image presenting itself as LUKS2 container. The bug is in segments validation code in file 'lib/luks2/luks2_json_metadata.c' in function hdr_validate_segments(struct crypt_device *cd, json_object *hdr_jobj) where the code does not check for possible overflow on memory allocation used for intervals array (see statement "intervals = malloc(first_backup * sizeof(*intervals));"). Due to the bug, library can be *tricked* to expect such allocation was successful but for far less memory then originally expected. Later it may read data FROM image crafted by an attacker and actually write such data BEYOND allocated memory.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cryptsetup | sid | 2:2.8.8-1 | fixed |
| Debian | cryptsetup | forky | 2:2.8.8-1 | fixed |
| Debian | cryptsetup | trixie | 2:2.7.5-2 | fixed |
| Debian | cryptsetup | bookworm | 2:2.6.1-4~deb12u2 | fixed |
| Alpine | cryptsetup | 3.11 | 2.2.2-r1 | fixed |
| Alpine | cryptsetup | 3.12 | 2.3.2-r1 | fixed |
| Alpine | cryptsetup | 3.13 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.14 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.15 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.16 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.17 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.18 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.19 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.20 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.21 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.22 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.23 | 2.3.4-r0 | fixed |
| Alpine | cryptsetup | 3.24 | 2.3.4-r0 | fixed |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.0-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.1-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-2ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.2 | fixed |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.0-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.1-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-2ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.2 | fixed |
| Opensuse | cryptsetup | tumbleweed | 2.4.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cryptsetup | source | sid | 2:2.3.4-1 | not yet assigned | Not reported | [969471] |
| Debian | cryptsetup | source | forky | 2:2.3.4-1 | not yet assigned | Not reported | [969471] |
| Debian | cryptsetup | source | trixie | 2:2.3.4-1 | not yet assigned | Not reported | [969471] |
| Debian | cryptsetup | source | bookworm | 2:2.3.4-1 | not yet assigned | Not reported | [969471] |
| Alpine | cryptsetup | apk | 3.11 | 2.2.2-r1 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.12 | 2.3.2-r1 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.13 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.14 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.15 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.16 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.17 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.18 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.19 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.20 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.21 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.22 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.23 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Alpine | cryptsetup | apk | 3.24 | 2.3.4-r0 | Not reported | ALPINE-CVE-2020-14382 | Not reported |
| Ubuntu | cryptsetup | deb | 20.04 | 2:2.2.2-3ubuntu2.2 | Not reported | UBUNTU-CVE-2020-14382 | Not reported |
| Ubuntu | cryptsetup | deb | 20.04 | 2:2.2.2-3ubuntu2.2 | Not reported | USN-4493-1 | Not reported |
| Opensuse | cryptsetup | rpm | tumbleweed | 2.4.1-1.1 | Not reported | OPENSUSE-SU-2024:10704-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [cryptsetup-doc]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· noarch · tumbleweedUnknown · Fixed:
2.4.1-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [cryptsetup-lang]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· noarch · tumbleweedUnknown · Fixed:
2.4.1-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [cryptsetup-ssh]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.1-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [libcryptsetup12]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.1-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [libcryptsetup12-32bit]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.1-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [libcryptsetup-devel]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.1-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [cryptsetup]Fixed
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
- [cryptsetup-bin]Fixed
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
- [cryptsetup-initramfs]Fixed
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
- [cryptsetup-run]Fixed
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
- [cryptsetup-ssh]Fixed
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
- [cryptsetup-suspend]Fixed
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
- [libcryptsetup12]Fixed
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
- [libcryptsetup-dev]Fixed
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · bookworm; dsa · cryptsetup · debian · 12
[Debian 13 (Trixie)]
- [cryptsetup]Fixed
Details (2)
2:2.7.5-2· amd64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
2:2.7.5-2· arm64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
- [cryptsetup-bin]Fixed
Source package: [cryptsetup]
Details (2)
2:2.7.5-2· amd64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
2:2.7.5-2· arm64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
- [cryptsetup-initramfs]Fixed
Source package: [cryptsetup]
Details (2)
2:2.7.5-2· all · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
2:2.7.5-2· all · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
- [cryptsetup-ssh]Fixed
Source package: [cryptsetup]
Details (2)
2:2.7.5-2· amd64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
2:2.7.5-2· arm64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
- [cryptsetup-suspend]Fixed
Source package: [cryptsetup]
Details (2)
2:2.7.5-2· amd64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
2:2.7.5-2· arm64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
- [libcryptsetup12]Fixed
Source package: [cryptsetup]
Details (2)
2:2.7.5-2· amd64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
2:2.7.5-2· arm64 · trixieFixed · Fixed:
2:2.3.4-1dsa · cryptsetup · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2020:4542]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2020_4542.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2020-14382]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-14382]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-14382]
- [https://osv.dev/vulnerability/USN-4493-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:10704-1]
- [https://security-tracker.debian.org/tracker/CVE-2020-14382]
- [https://wid.cert-bund.de/.well-known/csaf/white/2020/wid-sec-w-2022-0193.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]