5.5

CVE-2021-3155: snapd created ~/snap with too-wide permissions

Modified
AliasesUBUNTU-CVE-2021-3155DEBIAN-CVE-2021-3155
Published 17-02-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-3155 is a medium (CVSS 5.5) Incorrect Default Permissions vulnerability in canonical ltd. snapd. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

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

Description

snapd 2.54.2 and earlier created ~/snap directories in user home directories without specifying owner-only permissions. This could allow a local attacker to read information that should have been private. 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.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.26% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Canonical2 products
Canonical ltd.1 product
  • snapd≥ unspecified, ≤ 2.54.2
Debian1 product
  • snapd< 2.54-1
Ubuntu1 product
  • snapd< 2.54.3+16.04~esm2 | < 2.54.3+18.04 | < 2.54.3+20.04.1

4 vendors · 5 products

References

8 links