CVE-2021-4120
mediumpriority · track · 31EPSS 0.004 · 38 %ileEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.6–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2022/02/18/2cnnvd
- https://bugs.launchpad.net/snapd/+bug/1949368cnnvd
- https://cxsecurity.com/cveshow/CVE-2021-4120/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QTBN7LLZISXIA4KU4UKDR27Q5PXDS2U/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XCGHG6LJAVJJ72TMART6A7N4Z6MSTGI7/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-4120cnnvd
- https://packetstormsecurity.com/files/166056/Ubuntu-Security-Notice-USN-5292-2.htmlcnnvd
- https://packetstormsecurity.com/files/166139/Ubuntu-Security-Notice-USN-5292-4.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan