Bug 1356825 (CVE-2015-8946)

Summary: CVE-2015-8946 ecryptfs-utils: ecryptfs-setup-swap improperly configures encrypted swap when using GPT partitioning
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dkholia, esandeen, mhlavink
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-08 09:51:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1356826    
Bug Blocks: 1356829    

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

On systems using systemd 211 or newer and GPT partitioning, the unencrypted swap partition was being automatically activated during boot and the encrypted swap was not used. This was due to ecryptfs-setup-swap not marking the swap partition as "no-auto", as defined by the Discoverable Partitions Spec.

References:

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

Debian bug:

https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1447282

Fix:

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

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

Affects: fedora-all [bug 1356826]