Bug 1726543 - CVE-2019-13179 calamares: incorrect permission leads to disclosure of decryption keys for LUKS container [fedora-all]
Summary: CVE-2019-13179 calamares: incorrect permission leads to disclosure of decrypt...
Alias: None
Product: Fedora
Classification: Fedora
Component: calamares
Version: 30
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: CVE-2019-13179
TreeView+ depends on / blocked
Reported: 2019-07-03 06:59 UTC by Dhananjay Arunesh
Modified: 2019-07-03 09:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2019-07-03 09:08:36 UTC
Type: ---

Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-07-03 06:59:25 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Dhananjay Arunesh 2019-07-03 06:59:27 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.


# bugfix, security, enhancement, newpackage (required)

# low, medium, high, urgent (required)

# testing, stable

# Bug numbers: 1234,9876

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds

# Automatically close bugs when this marked as stable

# Suggest that users restart after update


Additionally, you may opt to use the bodhi web interface to submit updates:


Comment 2 Kevin Kofler 2019-07-03 09:08:36 UTC
This CVE only affects the Debian mkinitramfs (initramfs-tools), which is not used in the Fedora configuration for Calamares. The underlying tool is also not shipped at all by Fedora. Therefore, Fedora is NOT affected by this vulnerability.

Dracut does not require the caller (Calamares in this case) to set the umask, it already does this automatically, and has been doing so since 2012 (since 2016 for one special case). See CVE-2012-4453 (https://github.com/dracutdevs/dracut/commit/e1b48995c26c4f06d1a718539cb1bd5b0179af91) and CVE-2016-8637 (https://github.com/dracutdevs/dracut/commit/0db98910a11c12a454eac4c8e86dc7a7bbc764a4).

Calamares on Fedora IS affected by the related CVE-2019-13178, though.

Note You need to log in before you can comment on or make changes to this bug.