VDB

CVE-2020-27348

CVE-2020-27348 PUBLISHED CVSS 6.8 MEDIUM

snapcraft may build snaps with incorrect LD_LIBRARY_PATH

Reported by canonical · Published December 4, 2020

snapcraft is fixed in 4.4.4 and 2.43.1 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
snapcraftPyPI4.4.4, 2.43.1
snapcraftUbuntu:16.04:LTS2.43.1+16.04.1
snapcraftCanonical4.4.4, 2.43.1+16.04.1
snapcraftUbuntu:18.04:LTS2.43.1+18.04.1

Risk scores

CVSS 3.1
6.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

Affected products

VendorProductVersions
Canonicalsnapcraft4.4, 2.43.1
PyPIsnapcraft0
Canonicalsnapcraft4.4, 2.43.1

Timeline

  • Dec 4, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jul 23, 2021 PoC Published
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-27348
vulnetix vdb fixes CVE-2020-27348

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-27348/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›