Access Restriction Bypass Affecting github.com/snapcore/snapd/interfaces/apparmor package, versions <2.54.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
Exploit Maturity
Proof of Concept
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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSNAPCORESNAPDINTERFACESAPPARMOR-15036113
  • published20 Jan 2026
  • disclosed18 Feb 2022
  • creditIan Johnson

Introduced: 18 Feb 2022

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

How to fix?

Upgrade github.com/snapcore/snapd/interfaces/apparmor to version 2.54.3 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass due to failure 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.

CVSS Base Scores

version 3.1