CVE-2021-3155: canonical ltd. snapd Incorrect Default Permissions
CVSS: 5.5v3.1MediumModified
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 16.5% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (NVD)EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 17-02-2022PublishedVulnerability first disclosed.
- 03-08-2024Last 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 versionsMedium 5.5Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NSources4 sources · 3.8–5.5
- CVE.orgCNA3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Low 2.1Preferred score · NVD (NIST)
AV:L/AC:L/Au:N/C:P/I:N/A:NSourcesSingle source
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
0.00 pp
From 0.26% on 18-09-2026
18-09-202618-10-2026
EPSS score0.26%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Canonical2 products
- snapd< 2.54.3
- ubuntu_linuxEOL18.04 | 20.04 | 21.10
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- github.com/snapcore/snapd/commit/6bcaeeccd16ed8298a301dd92f6907f88c24cc85X Refsource MISCPatchThird Party Advisory
- github.com/snapcore/snapd/commit/7d2a966620002149891446a53cf114804808dccaX Refsource MISCPatchThird Party Advisory