First published: Thu Feb 17 2022(Updated: )
James Troup discovered that snap did not properly manage the permissions for the snap directories. A local attacker could possibly use this issue to expose sensitive information. (CVE-2021-3155) Ian Johnson discovered that snapd did not properly validate content interfaces and layout paths. A local attacker could possibly use this issue to inject arbitrary AppArmor policy rules, resulting in a bypass of intended access restrictions. (CVE-2021-4120) The Qualys Research Team discovered that snapd did not properly validate the location of the snap-confine binary. A local attacker could possibly use this issue to execute other arbitrary binaries and escalate privileges. (CVE-2021-44730) The Qualys Research Team discovered that a race condition existed in the snapd snap-confine binary when preparing a private mount namespace for a snap. A local attacker could possibly use this issue to escalate privileges and execute arbitrary code. (CVE-2021-44731)
Affected Software | Affected Version | How to fix |
---|---|---|
All of | ||
ubuntu/snap-confine | <2.54.3+21.10.1 | 2.54.3+21.10.1 |
Ubuntu Ubuntu | =21.10 | |
All of | ||
ubuntu/snapd | <2.54.3+21.10.1 | 2.54.3+21.10.1 |
Ubuntu Ubuntu | =21.10 | |
All of | ||
ubuntu/snap-confine | <2.54.3+20.04 | 2.54.3+20.04 |
Ubuntu Ubuntu | =20.04 | |
All of | ||
ubuntu/snapd | <2.54.3+20.04 | 2.54.3+20.04 |
Ubuntu Ubuntu | =20.04 | |
All of | ||
ubuntu/snap-confine | <2.54.3+18.04 | 2.54.3+18.04 |
Ubuntu Ubuntu | =18.04 | |
All of | ||
ubuntu/snapd | <2.54.3+18.04 | 2.54.3+18.04 |
Ubuntu Ubuntu | =18.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Contains the following vulnerabilities)
The vulnerability ID for this advisory is CVE-2021-3155.
The severity of CVE-2021-3155 is high.
A local attacker could exploit CVE-2021-3155 by improperly managing permissions for the snap directories and exposing sensitive information.
Versions of snapd up to exclusive 2.54.3+21.10.1, 2.54.3+20.04, and 2.54.3+18.04 are affected by CVE-2021-3155.
To fix CVE-2021-3155, update snapd to version 2.54.3+21.10.1 or higher.