Vulnerability Details : CVE-2021-3155
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
Products affected by CVE-2021-3155
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*
- cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3155
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3155
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.1
|
LOW | AV:L/AC:L/Au:N/C:P/I:N/A:N |
3.9
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
1.8
|
3.6
|
NIST | |
3.8
|
LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
2.0
|
1.4
|
Canonical Ltd. |
CWE ids for CVE-2021-3155
-
During installation, installed file permissions are set to allow anyone to modify those files.Assigned by:
- nvd@nist.gov (Primary)
- security@ubuntu.com (Secondary)
References for CVE-2021-3155
-
https://github.com/snapcore/snapd/commit/6bcaeeccd16ed8298a301dd92f6907f88c24cc85
Merge pull request #9897 from anonymouse64/bugfix/lp-1910298-part-1 · snapcore/snapd@6bcaeec · GitHubPatch;Third Party Advisory
-
https://github.com/snapcore/snapd/commit/7d2a966620002149891446a53cf114804808dcca
Merge pull request #10992 from MiguelPires/fix-snap-perm · snapcore/snapd@7d2a966 · GitHubPatch;Third Party Advisory
-
https://ubuntu.com/security/notices/USN-5292-1
USN-5292-1: snapd vulnerabilities | Ubuntu security notices | UbuntuPatch;Vendor Advisory
Jump to