{"id":"CVE-2021-3155","aliases":["CVE-2021-3155"],"related":[],"kind":"vulnerability","state":"published","title":"snapd created ~/snap with too-wide permissions","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"snapd versiones 2.54.2 y anteriores, creaban directorios ~/snap en los directorios personales de usuarios sin especificar los permisos de sólo propietario. Esto podía permitir a un atacante local leer información que debería ser privada. Corregido en snapd versiones 2.54.3+18.04, 2.54.3+20.04 y 2.54.3+21.10.1","source":"nvd"}],"published":"2022-02-17T22:15:16.000Z","modified":"2026-06-17T04:04:45.717Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","score":2.1,"rating":"LOW"}],"cwes":["CWE-276"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2.54.2","status":"affected"}],"vendor":"Canonical Ltd.","product":"snapd","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.54.3"}],"vendor":"canonical","product":"snapd","cpe":"cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"18.04"},{"status":"affected","version":"20.04"},{"status":"affected","version":"21.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://ubuntu.com/security/notices/USN-5292-1","tags":["patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/snapcore/snapd/commit/6bcaeeccd16ed8298a301dd92f6907f88c24cc85","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/snapcore/snapd/commit/7d2a966620002149891446a53cf114804808dcca","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["James Troup"],"assigner":"canonical","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3155","url":"https://www.cve.org/CVERecord?id=CVE-2021-3155","licence":"CVE Terms of Use","modified":"2024-08-03T16:45:51.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3155","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3155","licence":"Public domain","modified":"2026-06-17T04:04:45.717Z"}],"updatedAt":"2026-11-25T22:58:06.997Z","epss":{"score":0.0026,"percentile":0.18951,"date":"2026-12-02T12:00:21.000Z"}}