Bug 2056065 (CVE-2021-4120) - CVE-2021-4120 snapd: Insufficient validation of snap content interface and layout paths
Summary: CVE-2021-4120 snapd: Insufficient validation of snap content interface and la...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-4120
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2056066 2056067
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-18 16:47 UTC by Mauro Matteo Cascella
Modified: 2022-03-02 21:32 UTC (History)
4 users (show)

Fixed In Version: snapd 2.54.3
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2022-03-02 21:32:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2022-02-18 16:47:10 UTC
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.

References:
http://www.openwall.com/lists/oss-security/2022/02/18/2
https://bugs.launchpad.net/snapd/+bug/1949368

Comment 1 Mauro Matteo Cascella 2022-02-18 16:47:27 UTC
Created snapd tracking bugs for this issue:

Affects: epel-all [bug 2056066]
Affects: fedora-all [bug 2056067]

Comment 2 Product Security DevOps Team 2022-03-02 21:32:20 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.