VDB

CVE-2021-3155

CVE-2021-3155 PUBLISHED CVSS 3.8 LOW

snapd created ~/snap with too-wide permissions

Reported by canonical · Published February 17, 2022

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
snapdUbuntu:18.04:LTS2.54.3+18.04
snapdcanonical2.54.3
snapdCanonical Ltd.2.54.2
snapdUbuntu:20.04:LTS2.54.3+20.04.1
snapdUbuntu:Pro:16.04:LTS2.54.3+16.04~esm2

Risk scores

CVSS 3.1
3.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Affected products

VendorProductVersions
Canonical Ltd.snapdunspecified
Canonical Ltd.snapd*

Timeline

  • Feb 17, 2022 CVE Published
  • Feb 18, 2022 EPSS Score (30 in total, the first dated here)
  • Oct 15, 2025 CVE Updated
  • Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (4 in total, the first dated here)
  • Aug 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-3155
vulnetix vdb fixes CVE-2021-3155

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3155/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›