nday
CVE-2021-44731

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

Canonical Ltd. / snapd

Preuve de concept publique parue 507 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : github. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typerace condition accesslocalno user interaction
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-362, stated by the CNA canonical, NVD's analysts et NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA canonical
no user interaction
UI:N in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA canonical
étape actuelle
POC
divulgation
délai avant PoC
T+507d POC : date seule
CVSS
7.8 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2022-02-17T00:00Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2023-07-09, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA canonical.

Journal des événements

+DISdivulgation

Fiche CVE publiée par canonical. CVSS 7.8, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "id": 251362,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-44731",
  "occurred_at": "2022-02-17T00:00:00Z",
  "observed_at": "2026-11-13T05:37:30.423676Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2022-02-17T00:00:00.000Z",
    "assigner_short_name": "canonical"
  }
}
2023-07-09date seule, selon la source
+POCPoC publique

Dépôt de PoC sur GitHub : deeexcee-io/CVE-2021-44731-snap-confine-SUID. La date est celle de la création du dépôt.

source github 664227496 · importé en masse par nday le · brut
{
  "id": 482903,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/deeexcee-io/CVE-2021-44731-snap-confine-SUID",
  "occurred_at": "2023-07-09T10:06:29Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "664227496",
  "detail": {
    "url": "https://github.com/deeexcee-io/CVE-2021-44731-snap-confine-SUID",
    "title": "deeexcee-io/CVE-2021-44731-snap-confine-SUID",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.