Back
CVE-2020-27348
snapcraft may build snaps with incorrect LD_LIBRARY_PATH
Medium6.8EPSS 0.70%
- Published
- Updated
- Reserved
- Assigned by
- canonical
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| canonicalCNA (assigner) | 3.1 | Medium6.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| NVDNVD · Modified | 3.1 | Medium6.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.70% · top 47% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIsnapcraftGHSA-qxm5-vx5j-pp6w (opens in a new tab)
References (3)
- https://github.com/snapcore/snapcraft/pull/3345 (opens in a new tab)x_refsource_MISCx_transferred
- https://usn.ubuntu.com/usn/usn-4661-1 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.launchpad.net/bugs/1901572 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qxm5-vx5j-pp6w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-27348)Record last updated .