---
title: "CVE-2021-3155"
canonical_url: "https://pkgseek.com/security/CVE-2021-3155"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-3155

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

CVE-2021-3155 is rated MEDIUM (5.5), with 4 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 4
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | golang-github-snapcore-snapd-dev | 2.44.3+20.04 | 2.54.3+20.04 |
| Ubuntu | focal | golang-github-ubuntu-core-snappy-dev | 2.44.3+20.04 | 2.54.3+20.04 |
| Ubuntu | focal | snapd | 2.44.3+20.04 | 2.54.3+20.04 |
| Ubuntu | focal | ubuntu-core-snapd-units | 2.44.3+20.04 | 2.54.3+20.04 |
