Bug 1356828 (CVE-2016-6224) - CVE-2016-6224 ecryptfs-utils: ecryptfs-setup-swap improperly configures encrypted swap when using GPT partitioning on a NVMe or MMC drive
Summary: CVE-2016-6224 ecryptfs-utils: ecryptfs-setup-swap improperly configures encry...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2016-6224
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1356826
Blocks: 1356829
TreeView+ depends on / blocked
 
Reported: 2016-07-15 06:48 UTC by Andrej Nemec
Modified: 2019-09-29 13:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-08 09:51:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2016-07-15 06:48:45 UTC
A vulnerability was found in ecryptfs-setup-swap script that is provided by the upstream ecryptfs-utils project.

When GPT swap partitions are located on NVMe or MMC drives, ecryptfs-setup-swap fails to mark these swap partitions as "no-auto".

As a consequence, when using encrypted home directory with an NVMe or MMC drive, the swap is left unencrypted. There's also a usability issue in that users are erroneously prompted to enter a pass-phrase to unlock their swap partition at boot.

This vulnerability exists due to an incomplete fix for CVE-2015-8946

References:

http://seclists.org/oss-sec/2016/q3/52

Debian bug:

https://bugs.launchpad.net/ecryptfs/+bug/1597154

Fix:

https://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/882

Comment 1 Andrej Nemec 2016-07-15 06:49:48 UTC
Created ecryptfs-utils tracking bugs for this issue:

Affects: fedora-all [bug 1356826]


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