CVE-2021-3155Canonical Snapd
Medium 5.5
Follow: this CVE · Canonical · Canonical Snapd We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 11
- Auth required
- Yes
- Published
- Feb 17, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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
What to do
- Apply the vendor's security update for Snapd.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | snapd | < 2.54.3 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 20.04 |
| canonical | ubuntu_linux | 21.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- ubuntu.com Patch Vendor Advisory