CVE-2020-27348
MEDIUM 6.8CVSS 3.1snapcraft Access Restriction Bypass
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.
- Published
- 4 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Modified
- Weakness
- CWE-427
- Also known as
- GHSA-qxm5-vx5j-pp6wPYSEC-2020-109
- Sources
- NVDJSONOSV GHSA-qxm5-vx5j-pp6wJSONOSV PYSEC-2020-109JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | snapcraftcpe:2.3:a:canonical:snapcraft:*:*:*:*:*:*:*:* |
< 4.4.4 | 4.4.4 |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:*:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:*:*:*:* |
= 18.04 | |
| OSV | PyPI | snapcraft | < 4.4.4 | 4.4.4 |
| OSV | PyPI | snapcraft | < 2.43.1 | 2.43.1 |
References
- https://bugs.launchpad.net/bugs/1901572 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/snapcore/snapcraft/pull/3345 · Third Party Advisory, WEB
- https://usn.ubuntu.com/usn/usn-4661-1 · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-27348 · ADVISORY
- https://github.com/snapcore/snapcraft/commit/a0ceca9d531a34c979251030ed67b5fa2abfdd9a · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/snapcraft/PYSEC-2020-109.yaml · WEB
- https://github.com/snapcore/snapcraft · PACKAGE
- https://github.com/advisories/GHSA-qxm5-vx5j-pp6w · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 4 Dec 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Dec 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)