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
Published: 2022-02-17
Score: 7.8 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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.

Subscriptions

Canonical Snapd Ubuntu Linux
Debian Debian Linux
Fedoraproject Fedora
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2024-08-04T04:32:12.887Z

Reserved: 2021-12-08T00:00:00.000Z

Link: CVE-2021-44731

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-17T23:15:07.473

Modified: 2024-11-21T06:31:28.220

Link: CVE-2021-44731

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses