Upstream information

CVE-2020-14382 at MITRE

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.

SUSE information

Overall state of this security issue: Does not affect SUSE products

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.8 5.3
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Access Vector Local Local
Access Complexity Low Low
Privileges Required None None
User Interaction Required Required
Scope Unchanged Unchanged
Confidentiality Impact High Low
Integrity Impact High Low
Availability Impact High Low
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1176128 [RESOLVED / FIXED]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE CaaS Platform 3.0 cryptsetup Not affected
SUSE Container as a Service Platform 1.0 cryptsetup Not affected
SUSE Container as a Service Platform 2.0 cryptsetup Not affected
SUSE Linux Enterprise 15-SP1 Module for Basesystem cryptsetup Not affected
SUSE Linux Enterprise 15-SP2 Module for Basesystem cryptsetup Not affected
SUSE Linux Enterprise High Performance Computing 12 SP4 cryptsetup Not affected
SUSE Linux Enterprise High Performance Computing 12 SP5 cryptsetup Not affected
SUSE Linux Enterprise High Performance Computing 15 LTSS cryptsetup Not affected
SUSE Linux Enterprise Server 11 SP1 cryptsetup Not affected
SUSE Linux Enterprise Server 11 SP3 cryptsetup Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS cryptsetup Not affected
SUSE Linux Enterprise Server 12 SP2 BCL cryptsetup Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS cryptsetup Not affected
SUSE Linux Enterprise Server 12 SP3 BCL cryptsetup Not affected
SUSE Linux Enterprise Server 12 SP3 LTSS cryptsetup Not affected
SUSE Linux Enterprise Server 12 SP4 LTSS cryptsetup Not affected
SUSE Linux Enterprise Server 12 SP5 cryptsetup Not affected
SUSE Linux Enterprise Server 15 LTSS cryptsetup Not affected
SUSE Linux Enterprise Server ESPOS 15 cryptsetup Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 cryptsetup Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 cryptsetup Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 cryptsetup Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 cryptsetup Not affected
SUSE Linux Enterprise Software Development Kit 12 SP5 cryptsetup Not affected