🛡️ CVE-2021-4120 on Debian — snapd
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
Distribution advisory
This page covers CVE-2021-4120 as tracked by Debian, for the package snapd. The fix is available in version 2.54.3-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Affected software
DEBIAN-CVE-2021-4120 is recorded against 1 package.
- snapd (fixed in 2.54.3-1)
Timeline and source
Published on 17 February 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2021-4120 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| snapd | — | 2.54.3-1 |
References
Similar Threats
- Unknown DEBIAN-CVE-2024-5300
- Unknown DEBIAN-CVE-2026-15226
- Unknown DEBIAN-CVE-2026-3888
- Medium CVE-2024-1724
- Medium CVE-2024-29068
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2021-4120?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2021-4120 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.