Vulnerability 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
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Snapd | <= 2.54.2 |
| Canonical | Ubuntu Linux | 18.04 |
| Fedoraproject | Fedora | 34 |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2022/02/18/2ExploitMailing ListThird Party Advisory
- https://bugs.launchpad.net/snapd/+bug/1949368ExploitIssue TrackingThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://ubuntu.com/security/notices/USN-5292-1PatchVendor Advisory
- http://www.openwall.com/lists/oss-security/2022/02/18/2ExploitMailing ListThird Party Advisory
- https://bugs.launchpad.net/snapd/+bug/1949368ExploitIssue TrackingThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://ubuntu.com/security/notices/USN-5292-1PatchVendor Advisory
FAQ
What is CVE-2021-4120?
CVE-2021-4120 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 inter...
How severe is CVE-2021-4120?
CVE-2021-4120 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-4120?
Check the references section above for vendor advisories and patch information. Affected products include: Canonical Snapd, Canonical Ubuntu Linux, Fedoraproject Fedora.