Live threats

All CVEs / Canonical

CVE-2020-27348Canonical Snapcraft

Medium 6.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Snapcraft.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
canonicalsnapcraft< 4.4.4
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04

Official sources

References

Links published by the sources. Open them with care.