Bug 2056058 (CVE-2021-44731)

Summary: CVE-2021-44731 snapd: Race condition in snap-confine's setup_private_mount()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: go-sig, maciek.borzecki, me, ngompa13
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: snapd 2.54.3 Doc Type: If docs needed, set a value
Doc Text:
A race condition vulnerability in the snap-confine component (setup_private_mount) of snapd was found by Qualys. This flaw could lead to local privilege escalation from any user to root.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-02 20:50:16 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: 2056059, 2056060    
Bug Blocks:    

Description Mauro Matteo Cascella 2022-02-18 16:33:35 UTC
A race condition vulnerability in the snap-confine component (setup_private_mount) of snapd was found by Qualys. This flaw could lead to local privilege escalation from any user to root.

Qualys security advisory:
https://www.qualys.com/2022/02/17/cve-2021-44731/oh-snap-more-lemmings.txt

Comment 1 Mauro Matteo Cascella 2022-02-18 16:33:55 UTC
Created snapd tracking bugs for this issue:

Affects: epel-all [bug 2056059]
Affects: fedora-all [bug 2056060]

Comment 2 Product Security DevOps Team 2022-03-02 20:50:15 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.