Improper Input Validation Affecting snapd package, versions <2.54.3-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.44% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-SNAPD-18170092
  • published22 Jul 2026
  • disclosed17 Feb 2022

Introduced: 17 Feb 2022

CVE-2021-4120  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Echo:latest snapd to version 2.54.3-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream snapd package and not the snapd package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1