CVE-2021-4120

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

Published Feb 17, 2022 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-33996 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
Ubuntu USN Ubuntu USN USN-5292-1 snapd vulnerabilities
Ubuntu USN Ubuntu USN USN-5292-2 snapd vulnerabilities
Ubuntu USN Ubuntu USN USN-5292-3 snapd vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Aug 3, 2024, 5:16 PM
Reserved
Dec 14, 2021, 12:00 AM
Status
Modified
Published
Feb 17, 2022, 11:15 PM
Modified
Jun 17, 2026, 4:19 AM