CVE-2020-27348Canonical Snapcraft
Medium 6.8
Follow: this CVE · Canonical · Canonical Snapcraft We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 6.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 55
- Auth required
- Yes
- Published
- Dec 4, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-427
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Snapcraft.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | snapcraft |
< 4.4.4 |
4.4.4 |
pip install "snapcraft>=4.4.4" |
| PyPI | snapcraft |
< 2.43.1 |
2.43.1 |
pip install "snapcraft>=2.43.1" |
Per OSV / GitHub Advisories (GHSA-qxm5-vx5j-pp6w, PYSEC-2020-109). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | snapcraft | < 4.4.4 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.launchpad.net Exploit Issue Tracking Third Party Advisory
- github.com Third Party Advisory
- usn.ubuntu.com Patch Third Party Advisory