Read the docs
TI-2021-20245 Aliases CVE-2021-44731GHSA-m3j9-xfh2-hrgc

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

Priority LOW 36CWE-362Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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

Why it matters now

EPSS 0.00952 61st percentileScored 2026-11-07
Public exploit Yes 4 exploit referencesTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Canonicalsnapdup to 2.54.2—No fix listedCNA
  • snapd VendorCanonical Affected up to 2.54.2 Fixed in — No fix listed CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*up to 2.54.2VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*18.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*20.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*21.10VulnerableCanonical
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* Versions up to 2.54.2 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Versions 20.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:* Versions 21.10 Vulnerable ·Canonical
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian

Remediation

No fixed version listed by the sources yet.

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Canonical snapd — FEDORA-2022-82bea71e5a

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2021-20244 snapd could be made to escalate privileges and run programs as administratorPriority LOW 38
    • TI-2021-02996 snapd could be made to bypass intended access restrictions through snap content interfaces and layout pathsPriority LOW 36
  • Advisory ·

    Canonical snapd — FEDORA-2022-5df8b52ba4

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2021-20244 snapd could be made to escalate privileges and run programs as administratorPriority LOW 38
    • TI-2021-02996 snapd could be made to bypass intended access restrictions through snap content interfaces and layout pathsPriority LOW 36
Show 1 more group
  • Advisory ·

    Canonical snapd — DSA-5080

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2021-20244 snapd could be made to escalate privileges and run programs as administratorPriority LOW 38

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-44731
  2. 2026-10-03 Alias added: GHSA-m3j9-xfh2-hrgc

References

  • TI-2023-01437 Injection in Canonical snapd CVSS 3.1CRITICAL 10.0
  • TI-2019-05192 Local privilege escalation via snapd socket CVSS 3.1CRITICAL 9.8
  • TI-2024-01603 snapd allows $HOME/bin symlink CVSS 3.1HIGH 8.2
  • TI-2024-04773 Improper input validation in Canonical snapd CVSS 3.1HIGH 8.1
  • TI-2020-16634 Improper privilege management in Canonical snapd CVSS 3.1CRITICAL 9.3
  • TI-2019-05191 Snapd seccomp filter TIOCSTI ioctl bypass CVSS 3.1HIGH 7.5
See all 15 →

Sources