#VU63646 Incorrect default permissions in Snapd - CVE-2021-3155


Vulnerability identifier: #VU63646

Vulnerability risk: Low

CVSSv4.0: 1.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-3155

CWE-ID: CWE-276

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Snapd
Universal components / Libraries / Software for developers

Vendor: snapcore

Description

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to snapd creates "~/snap" directories in user home directories without specifying owner-only permissions. A local user can gain access to potentially sensitive information.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Snapd: 2.0 - 2.54.2


External links
https://github.com/snapcore/snapd/commit/6bcaeeccd16ed8298a301dd92f6907f88c24cc85
https://ubuntu.com/security/notices/USN-5292-1
https://github.com/snapcore/snapd/commit/7d2a966620002149891446a53cf114804808dcca


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability