CVE-2021-44731

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

HIGH
7.8
CVSS Score
Published: February 17, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 04:12 AM UTC
4 products affected across 4 vendorsDebian LinuxFedoraUbuntu Linux

Using snapd by Canonical Ltd.?

Get instant alerts when new vulnerabilities affect snapd - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 1.0%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

CVSS

7.8HIGHcanonical
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card