Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2021-4120
canonical snapd

Score7.8 High
CVSS 3.1
Exploit probability (EPSS)0.44%
within the next 30 days
CategoryMisconfiguration & validation
Published17 February 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Improper input validation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-20 – Improper input validation

Affected products

VendorProductVersions
canonicalsnapd<=2.54.2
canonicalubuntu linux18.04
canonicalubuntu linux20.04
canonicalubuntu linux21.10
fedoraprojectfedora34
fedoraprojectfedora35

Sources

Latest in the same category

  • CVE-2026-81079 High 8.4
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability. A low privileged…
    Misconfiguration & validation · 1 December 2026
  • CVE-2026-140884 Medium 6.4
    A flaw was found in the first broker login flow of Keycloak, an identity and access management solution. The issue occurs when a user submits the Review profile page multiple times, which causes the system to lose…
    Misconfiguration & validation · 1 December 2026
  • CVE-2026-125168 High 7.7
    The Keycloak resource server grants administrator rights to every new user, and with "overrideUser" enabled also to existing users on each login, unless the site defines a rule for administrators. Any user of the…
    Misconfiguration & validation · 1 December 2026
  • CVE-2026-139984 Medium 5.5
    A weakness has been identified in walinejs Waline up to 1.43.6. The affected element is an unknown function of the component OAuth Login Callback Handler. Executing a manipulation of the argument Type can lead to…
    Misconfiguration & validation · 1 December 2026
  • CVE-2026-140103 Medium 5.4
    http-proxy-middleware is node.js http-proxy middleware. From 2.0.9 until 2.0.11, 3.0.8, and 4.2.1, fixRequestBody treats req.readableLength === 0 as proof that a body parser consumed the request body, although zero…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-139996 High 7.4
    React Router is a router for React. From 7.0.0 until 7.18.5 and 8.5.1, React Router Framework mode contains a prototype pollution vulnerability in data deserialization. Processing attacker-controlled serialized data…
    Misconfiguration & validation · 30 November 2026