Bug 1706013 (CVE-2019-11503)

Summary: CVE-2019-11503 snapd: remote attacker able to bypass security restriction
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: go-sig, me, ngompa13
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: snapd 2.39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:55:01 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: 1706018, 1706019, 1706020, 1706021    
Bug Blocks:    

Description Dhananjay Arunesh 2019-05-03 12:02:00 UTC
snap-confine as included in snapd before 2.39 did not guard against symlink races when performing the chdir() to the current working directory of the calling user, aka a "cwd restore permission bypass."

Reference:
https://www.openwall.com/lists/oss-security/2019/04/18/4
https://github.com/snapcore/snapd/pull/6642

Comment 1 Dhananjay Arunesh 2019-05-03 12:04:42 UTC
Created snapd tracking bugs for this issue:

Affects: fedora-all [bug 1706018]


Created snapd-glib tracking bugs for this issue:

Affects: fedora-all [bug 1706019]

Comment 2 Dhananjay Arunesh 2019-05-03 12:05:18 UTC
Created snapd tracking bugs for this issue:

Affects: epel-7 [bug 1706020]


Created snapd-glib tracking bugs for this issue:

Affects: epel-7 [bug 1706021]

Comment 3 Product Security DevOps Team 2019-06-10 10:55:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.