CWE
427
Advisory Published
Advisory Published
Updated

CVE-2020-27348: snapcraft may build snaps with incorrect LD_LIBRARY_PATH

First published: Fri Dec 04 2020(Updated: )

In some conditions, a snap package built by snapcraft includes the current directory in `LD_LIBRARY_PATH`, allowing a malicious snap to gain code execution within the context of another snap if both plug the home interface or similar. This issue affects snapcraft versions prior to 4.4.4, prior to 2.43.1+16.04.1, and prior to 2.43.1+18.04.1.

Credit: security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
pip/snapcraft<4.4.4
4.4.4
Snapcraft Snapd<4.4.4
Ubuntu=16.04
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.

Frequently Asked Questions

  • What is the severity of CVE-2020-27348?

    CVE-2020-27348 has been classified as a medium severity vulnerability.

  • How do I fix CVE-2020-27348?

    To fix CVE-2020-27348, upgrade your snapcraft version to at least 4.4.4.

  • What software is affected by CVE-2020-27348?

    CVE-2020-27348 affects snapcraft versions prior to 4.4.4 and specific versions of Ubuntu 16.04 and 18.04.

  • What is the impact of CVE-2020-27348?

    CVE-2020-27348 allows a malicious snap to gain code execution within the context of another snap.

  • How can CVE-2020-27348 be exploited?

    CVE-2020-27348 can be exploited if both snaps plug the home interface or similar, leveraging the LD_LIBRARY_PATH.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203