CWE
362
Advisory Published

USN-5292-1: snapd vulnerabilities

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the vulnerability ID for this advisory?

    The vulnerability ID for this advisory is CVE-2021-3155.

  • What is the severity of CVE-2021-3155?

    The severity of CVE-2021-3155 is high.

  • How can a local attacker exploit CVE-2021-3155?

    A local attacker could exploit CVE-2021-3155 by improperly managing permissions for the snap directories and exposing sensitive information.

  • Which versions of snapd are affected by CVE-2021-3155?

    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.

  • How can I fix CVE-2021-3155?

    To fix CVE-2021-3155, update snapd to version 2.54.3+21.10.1 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203