CVEvulnerability
CVE-2021-3155
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-02-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 3.8 LOW — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-276
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
Affected configurations
• canonical snapd (< 2.54.3)
• canonical ubuntu linux 18.04
• canonical ubuntu linux 20.04
• canonical ubuntu linux 21.10
Related
Weakness · CWE (1)
- CWE-276 Incorrect Default Permissions weakness
References
- https://github.com/snapcore/snapd/commit/6bcaeeccd16ed8298a301dd92f6907f88c24cc85 Patch, Third Party Advisory
- https://github.com/snapcore/snapd/commit/7d2a966620002149891446a53cf114804808dcca Patch, Third Party Advisory
- https://ubuntu.com/security/notices/USN-5292-1 Patch, Vendor Advisory
- https://github.com/snapcore/snapd/commit/6bcaeeccd16ed8298a301dd92f6907f88c24cc85 Patch, Third Party Advisory
- https://github.com/snapcore/snapd/commit/7d2a966620002149891446a53cf114804808dcca Patch, Third Party Advisory
- https://ubuntu.com/security/notices/USN-5292-1 Patch, Vendor Advisory