8.2
High
CVE-2021-4120 snapd 2.54.2 fails to perform sufficient validation of snap content interface and layout paths, resulting in the ability…
Description
snapd 2.54.2 fails to perform sufficient validation of snap content interface and layout paths, resulting in the ability for snaps to inject arbitrary AppArmor policy rules via malformed content interface and layout declarations and hence escape strict snap confinement. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| snapd 2.54 | earliest → 2.54.2 | No fix stated |
References
- ubuntu.com ubuntu.com
- bugs.launchpad.net bugs.launchpad.net
- [oss-security] 20220218 CVE-2021-4120: Insufficient validation of snap content interface and layout paths www.openwall.com
- FEDORA-2022-82bea71e5a lists.fedoraproject.org
- FEDORA-2022-5df8b52ba4 lists.fedoraproject.org
Timeline
- Published
- Last modified
Other CVEs of snapd
The 8 CVEs of snapd →
CVE-2020-27352
When generating the systemd service units for the docker snap (and other similar snaps), snapd does not specify…
9.3
Critical
CVE-2024-5138
The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged…
8.1
High
CVE-2022-3328
Race condition in snap-confine's must_mkdir_and_open_with_perms()
7.8
High
CVE-2023-1523
Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal…
10.0
Critical