7.8

CVE-2021-44731: canonical ltd. snapd Race Condition

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2021-44731DEBIAN-CVE-2021-44731
Published 17-02-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-44731 is a high (CVSS 7.8) Race Condition vulnerability in canonical ltd. snapd. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.6% of scored vulnerabilities. 4 public exploits are recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.95%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits4reference

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 17-02-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.95%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

0.00 pp

From 0.95% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.95%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

4 found
  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (seclists.org)

    Maturity: unknown

Show all 4 exploits
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Canonical2 products
Debian2 products
Canonical ltd.1 product
  • snapd≥ unspecified, ≤ 2.54.2
Fedoraproject1 product
Ubuntu1 product
  • snapd< 2.54.3+14.04~esm1 | < 2.54.3+16.04~esm2 | < 2.54.3+18.04 | < 2.54.3+20.04.1

5 vendors · 7 products

References

17 links
Show all 17 references