canonical ubuntu-linux CVE-2021-4120 in Canonical and Fedora Project Products
Published on February 17, 2022

snapd could be made to bypass intended access restrictions through snap content interfaces and layout paths

product logo product logo
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

Vendor Advisory Vendor Advisory NVD

Vulnerability Analysis

CVE-2021-4120 is exploitable with local system access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.


Products Associated with CVE-2021-4120

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-4120 are published in these products:

 
 
 

Affected Versions

Canonical Ltd. snapd:

Exploit Probability

EPSS
0.09%
Percentile
25.13%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.