A race condition existed in the snapd 2.54.2 snap-confine binary when preparing a private mount namespace for a snap. This could allow a local attacker to gain root privileges by bind-mounting their own contents inside the snap's private mount namespace and causing snap-confine to execute arbitrary code and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1
Metrics
Affected Vendors & Products
Advisories
Source | ID | Title |
---|---|---|
![]() |
DSA-5080-1 | snapd security update |
![]() |
EUVD-2021-31546 | A race condition existed in the snapd 2.54.2 snap-confine binary when preparing a private mount namespace for a snap. This could allow a local attacker to gain root privileges by bind-mounting their own contents inside the snap's private mount namespace and causing snap-confine to execute arbitrary code and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1 |
![]() |
USN-5292-1 | snapd vulnerabilities |
![]() |
USN-5292-2 | snapd vulnerabilities |
![]() |
USN-5292-3 | snapd vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.

Status: PUBLISHED
Assigner: canonical
Published:
Updated: 2024-08-04T04:32:12.887Z
Reserved: 2021-12-08T00:00:00
Link: CVE-2021-44731

No data.

Status : Modified
Published: 2022-02-17T23:15:07.473
Modified: 2024-11-21T06:31:28.220
Link: CVE-2021-44731

No data.

No data.