CVE-2021-44731

snapd could be made to escalate privileges and run programs as administrator

Published Feb 17, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5080-1 snapd security update
EUVD EUVD 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
Ubuntu USN Ubuntu USN USN-5292-1 snapd vulnerabilities
Ubuntu USN Ubuntu USN USN-5292-2 snapd vulnerabilities
Ubuntu USN Ubuntu USN USN-5292-3 snapd vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Aug 4, 2024, 4:32 AM
Reserved
Dec 8, 2021, 12:00 AM
Status
Modified
Published
Feb 17, 2022, 11:15 PM
Modified
Jun 17, 2026, 4:12 AM