CVE-2021-3155: Canonical Snapd

Medium severity, CVSS 5.5. EPSS: 0.3% chance of exploitation in the next 30 days.

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

Affected products

  • Canonical Snapd: before 2.54.3 (fixed in 2.54.3)
  • Canonical Ubuntu Linux: version 18.04 only; version 20.04 only; version 21.10 only

Published 2022-02-17. Last modified 2026-06-17.