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

Published Dec 4, 2020
·
Updated

In some conditions, a snap package built by snapcraft includes the current directory in LDLIBRARYPATH, 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.

Other sources

In some conditions, a snap package built by snapcraft includes the current directory in LDLIBRARYPATH, 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.

Affected Software

4 affected componentsFixes available
pip/snapcraft<4.4.4
4.4.4
Canonical Snapcraft<4.4.4
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04

Remediation

Event History

Dec 4, 2020
CVE Published
via MITRE·02:30 AM
Data Sourced
via MITRE·02:30 AM
DescriptionSeverityWeakness
May 24, 2022
Advisory Published
via GitHub·05:35 PM
Apr 22, 2024
Data Sourced
via Launchpad·11:09 PM
Description
Data Sourced
via Debian·11:10 PM
DescriptionAffected Software
Sep 20, 2024
Data Sourced
via Ubuntu·05:24 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-27348?

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

2

How do I fix CVE-2020-27348?

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

3

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.

4

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.

5

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