CVE-2020-27348

Public Exploit
snapcraft may build snaps with incorrect LD_LIBRARY_PATH

Description

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.

Category

6.8
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.08%
Third-Party Advisory launchpad.net Third-Party Advisory github.com Third-Party Advisory ubuntu.com
Affected: Canonical snapcraft
Published at:
Updated at:

References

Link Tags
https://github.com/snapcore/snapcraft/pull/3345 third party advisory
https://usn.ubuntu.com/usn/usn-4661-1 third party advisory patch
https://bugs.launchpad.net/bugs/1901572 issue tracking exploit third party advisory

Frequently Asked Questions

What is the severity of CVE-2020-27348?
CVE-2020-27348 has been scored as a medium severity vulnerability.
How to fix CVE-2020-27348?
To fix CVE-2020-27348, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-27348 being actively exploited in the wild?
It is possible that CVE-2020-27348 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-27348?
CVE-2020-27348 affects Canonical snapcraft.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.