CVE-2021-3155

Summary

CVECVE-2021-3155
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-02-17 23:15:00 UTC
Updated2022-02-25 21:32:00 UTC
Descriptionsnapd 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

Risk And Classification

Problem Types: CWE-276

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Canonical Snapd All All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 20.04 All All All
Operating System Canonical Ubuntu Linux 21.10 All All All

References

ReferenceSourceLinkTags
Merge pull request #9897 from anonymouse64/bugfix/lp-1910298-part-1 · snapcore/snapd@6bcaeec · GitHub MISC github.com Patch, Third Party Advisory
USN-5292-1: snapd vulnerabilities | Ubuntu security notices | Ubuntu MISC ubuntu.com Patch, Vendor Advisory
Merge pull request #10992 from MiguelPires/fix-snap-perm · snapcore/snapd@7d2a966 · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: James Troup

Legacy QID Mappings

  • 182790 Debian Security Update for snapd (CVE-2021-3155)
  • 198668 Ubuntu Security Notification for snapd Vulnerabilities (USN-5292-1)
  • 198670 Ubuntu Security Notification for snapd Vulnerabilities (USN-5292-2)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report