Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-4120

published high CVSS 3.1 · 8.2

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

Published
17 Feb 2022, 22:15:21 UTC
Updated
03 Aug 2024, 17:16:04 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Canonical Ltd. — snapdunspecified through 2.54.2 Affected Not stated canonical
Ubuntu bionic snapd Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu esm snapd Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu focal snapd Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu xenial snapd Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu bionic golang-github-snapcore-snapd-dev Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu bionic golang-github-ubuntu-core-snappy-dev Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu bionic snap-confine Advisory build 2.54.3+18.04 USN-5292-1
Show 29 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu bionic snapd-xdg-open Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu bionic ubuntu-core-launcher Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu bionic ubuntu-core-snapd-units Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu bionic ubuntu-snappy Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu bionic ubuntu-snappy-cli Advisory build 2.54.3+18.04 USN-5292-1
Ubuntu esm golang-github-snapcore-snapd-dev Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu esm golang-github-ubuntu-core-snappy-dev Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu esm snap-confine Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu esm snapd-xdg-open Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu esm ubuntu-core-launcher Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu esm ubuntu-core-snapd-units Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu esm ubuntu-snappy Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu esm ubuntu-snappy-cli Advisory build 2.54.3+14.04~esm1 USN-5292-3
Ubuntu focal golang-github-snapcore-snapd-dev Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu focal golang-github-ubuntu-core-snappy-dev Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu focal snap-confine Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu focal snapd-xdg-open Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu focal ubuntu-core-launcher Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu focal ubuntu-core-snapd-units Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu focal ubuntu-snappy Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu focal ubuntu-snappy-cli Advisory build 2.54.3+20.04.1 USN-5292-2
Ubuntu xenial golang-github-snapcore-snapd-dev Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu xenial golang-github-ubuntu-core-snappy-dev Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu xenial snap-confine Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu xenial snapd-xdg-open Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu xenial ubuntu-core-launcher Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu xenial ubuntu-core-snapd-units Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu xenial ubuntu-snappy Advisory build 2.54.3+16.04~esm2 USN-5292-3
Ubuntu xenial ubuntu-snappy-cli Advisory build 2.54.3+16.04~esm2 USN-5292-3

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

en · canonical · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
canonical · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Canonical Ltd. snapd unspecified through 2.54.2 (affected · custom) canonical · cna

Weaknesses

1
  • CWE-20 CWE-20 Improper Input Validation (canonical · cna)

References

5

Provider assertions

2

canonical · cna

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

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
68bce5e922ecbd060850e1fc0f52377b1eb9e49b1f1ca2182ba99f0f232acef3
Ingested
23 Sep 2026, 07:57:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected