Incorrect Default Permissions Affecting snapd package, versions <2.54.3+20.04


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-SNAPD-1122684
  • published21 May 2021
  • disclosed17 Feb 2022

Introduced: 21 May 2021

CVE-2021-3155  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 snapd to version 2.54.3+20.04 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream snapd package and not the snapd package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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

CVSS Scores

version 3.1