CVE-2021-3155
published low CVSS 3.1 · 3.8snapd created ~/snap with too-wide permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical Ltd. | — | snapdunspecified through 2.54.2 | Affected | Not stated | canonical |
| Ubuntu | bionic | snapd | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | focal | snapd | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | xenial | snapd | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | bionic | golang-github-snapcore-snapd-dev | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | bionic | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | bionic | snap-confine | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | bionic | snapd-xdg-open | Advisory build | 2.54.3+18.04 | USN-5292-1 |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | ubuntu-core-launcher | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | bionic | ubuntu-core-snapd-units | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | bionic | ubuntu-snappy | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | bionic | ubuntu-snappy-cli | Advisory build | 2.54.3+18.04 | USN-5292-1 |
| Ubuntu | focal | golang-github-snapcore-snapd-dev | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | focal | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | focal | snap-confine | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | focal | snapd-xdg-open | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | focal | ubuntu-core-launcher | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | focal | ubuntu-core-snapd-units | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | focal | ubuntu-snappy | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | focal | ubuntu-snappy-cli | Advisory build | 2.54.3+20.04.1 | USN-5292-2 |
| Ubuntu | xenial | golang-github-snapcore-snapd-dev | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | xenial | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | xenial | snap-confine | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | xenial | snapd-xdg-open | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | xenial | ubuntu-core-launcher | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | xenial | ubuntu-core-snapd-units | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | xenial | ubuntu-snappy | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
| Ubuntu | xenial | ubuntu-snappy-cli | Advisory build | 2.54.3+16.04~esm2 | USN-5292-3 |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.8 / 10
- Severity
- low
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical Ltd. | snapd | unspecified through 2.54.2 (affected · custom) | canonical · cna |
Weaknesses
1- CWE-276 CWE-276 Incorrect Default Permissions
References
3Provider assertions
2canonical · cna
snapd created ~/snap with too-wide permissions
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d6a8104ad071f3f267c787c8477c6ed187a6c13c45c49ae20089c68f90d01cef
- Ingested
- 23 Sep 2026, 07:55:44 UTC
- Source record
- Official CVE record