CVE-2021-4120CWE-20

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

High · published February 17, 2022

CVSS v3.1
8.2
EPSS
0%
Percentile
36.9
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00437 · 36.9th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2022-02-17T22:15Z
EPSS history
Timeline
  • 17 FEB 22:15Z
    snapd could be made to bypass intended access restrictions through snap content interfaces and layout paths
    cvelistv5