Insecure Defaults Affecting github.com/snapcore/snapd/cmd/snap package, versions <2.54.3


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th 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 Insecure Defaults vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSNAPCORESNAPDCMDSNAP-2406143
  • published18 Feb 2022
  • disclosed18 Feb 2022
  • creditJames Troup

Introduced: 18 Feb 2022

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

How to fix?

Upgrade github.com/snapcore/snapd/cmd/snap to version 2.54.3 or higher.

Overview

github.com/snapcore/snapd/cmd/snap is an app packages for desktop, cloud and IoT that update automatically, are easy to install, secure, cross-platform and dependency-free. They're being used on millions of Linux systems every day.

Affected versions of this package are vulnerable to Insecure Defaults snapd creates ~/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.

CVSS Scores

version 3.1