Vulnerabilities > CVE-2019-13178 - Race Condition vulnerability in Calamares
Attack vector
NETWORK Attack complexity
HIGH Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
modules/luksbootkeyfile/main.py in Calamares versions 3.1 through 3.2.10 has a race condition between the time when the LUKS encryption keyfile is created and when secure permissions are set.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leveraging Race Conditions This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
- Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.
Nessus
NASL family | SuSE Local Security Checks |
NASL id | OPENSUSE-2019-2628.NASL |
description | This update for calamares fixes the following issues : - Launch with |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 131689 |
published | 2019-12-04 |
reporter | This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/131689 |
title | openSUSE Security Update : calamares (openSUSE-2019-2628) |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00020.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00020.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00021.html
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835095
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835095
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835096
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835096
- https://bugzilla.redhat.com/show_bug.cgi?id=1726565
- https://bugzilla.redhat.com/show_bug.cgi?id=1726565
- https://calamares.io/calamares-3.2.11-is-out/
- https://calamares.io/calamares-3.2.11-is-out/
- https://calamares.io/calamares-cve-2019/
- https://calamares.io/calamares-cve-2019/
- https://github.com/calamares/calamares/issues/1190
- https://github.com/calamares/calamares/issues/1190
- https://github.com/calamares/calamares/issues/1191
- https://github.com/calamares/calamares/issues/1191
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q57BOTBA2J5U4GVKUP7N2PD5H7B3BVUU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q57BOTBA2J5U4GVKUP7N2PD5H7B3BVUU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R2ZDQRGBGRVRW5LPJWKUNS3M66LZ3KYC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R2ZDQRGBGRVRW5LPJWKUNS3M66LZ3KYC/
- https://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/
- https://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/
- https://www.pavelkogan.com/2015/01/25/linux-mint-encryption/
- https://www.pavelkogan.com/2015/01/25/linux-mint-encryption/