Input validation error in Snapd - CVE-2021-4120

 

Input validation error in Snapd - CVE-2021-4120

Published: February 21, 2022


Vulnerability identifier: #VU60744
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-4120
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: snapcore
Affected software:
Snapd

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to insufficient validation of snap content interface and layout paths. A local user can inject arbitrary AppArmor policy rules via malformed content interface and layout declarations and execute arbitrary code with elevated privileges.


How to mitigate CVE-2021-4120

Install updates from vendor's website.

Sources