CVE-2020-14382
publishedcryptsetup: Out-of-bounds write when validating segments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | cryptsetupcryptsetup-2.2.0 | Affected | Not stated | redhat |
| Alpine Linux | edge | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Oracle Linux | 8 | cryptsetupaarch64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupaarch64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetupaarch64 | Advisory build | 2.4.1-1.1 | OPENSUSE-SU-2024:10704-1 |
| Ubuntu | focal | cryptsetup | Advisory build | 2:2.2.2-3ubuntu2.2 | USN-4493-1 |
| Alpine Linux | v3.11 | cryptsetup | Fixed | 2.2.2-r1 | Package fix record |
| Alpine Linux | v3.12 | cryptsetup | Fixed | 2.3.2-r1 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.14 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.15 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.16 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.17 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.18 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.19 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.20 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.21 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.22 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.23 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Alpine Linux | v3.24 | cryptsetup | Fixed | 2.3.4-r0 | Package fix record |
| Oracle Linux | 8 | cryptsetupx86_64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupaarch64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupaarch64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupppc64le | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupppc64le | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupppc64le | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetups390x | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetups390x | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetups390x | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupsrc | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupsrc | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupsrc | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupx86_64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupx86_64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupx86_64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetupppc64le | Advisory build | 2.4.1-1.1 | OPENSUSE-SU-2024:10704-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetups390x | Advisory build | 2.4.1-1.1 | OPENSUSE-SU-2024:10704-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetupx86_64 | Advisory build | 2.4.1-1.1 | OPENSUSE-SU-2024:10704-1 |
| Oracle Linux | 8 | cryptsetup-develaarch64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | cryptsetup-develx86_64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | cryptsetup-libsaarch64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | cryptsetup-libsx86_64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | cryptsetup-reencryptaarch64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | cryptsetup-reencryptx86_64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | integritysetupaarch64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | integritysetupx86_64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | veritysetupaarch64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Oracle Linux | 8 | veritysetupx86_64 | Advisory build | 0:2.3.3-2.el8 | ELSA-2020-4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoaarch64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoaarch64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoaarch64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoi686 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoi686 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoi686 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoppc64le | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoppc64le | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoppc64le | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfos390x | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfos390x | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfos390x | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfox86_64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfox86_64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfox86_64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceaarch64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceaarch64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceaarch64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcei686 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcei686 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcei686 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceppc64le | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceppc64le | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceppc64le | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsources390x | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsources390x | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsources390x | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcex86_64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcex86_64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcex86_64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develaarch64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develaarch64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develaarch64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develi686 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develi686 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develi686 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develppc64le | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develppc64le | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develppc64le | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-devels390x | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-devels390x | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-devels390x | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develx86_64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develx86_64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develx86_64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsaarch64 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsaarch64 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsaarch64 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsi686 | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsi686 | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsi686 | Advisory build | 2.3.3-2.el8 | RHSA-2020:4542 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsppc64le | Advisory build | 2.2.0-2.el8_1.1 | RHSA-2020:4900 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsppc64le | Advisory build | 2.2.2-1.el8_2.1 | RHSA-2021:0258 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | cryptsetup | cryptsetup-2.2.0 (affected) | redhat · cna |
Weaknesses
1- Out-of-bounds write
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1874712
- FEDORA-2020-5ed5af6275 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OJTQ4KSVCW2NMSU5WFVPOHY46WMNF4OB/
- FEDORA-2020-8c76e12e62 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TD6YSD63LLRRC4WQ7DJLSXWNUCY6FWBM/
- USN-4493-1 https://usn.ubuntu.com/4493-1/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 24cc6e58ece47ba35624b97e9e8ff70170022088a4fa5b58275baa397ad6b342
- Ingested
- 23 Sep 2026, 07:48:40 UTC
- Source record
- Official CVE record