medium6.8
CVE-2020-27348
snapcraft Access Restriction Bypass
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | snapcraft | < 4.4.4 | 4.4.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Snapcraft | before 4.4.4 |
| Canonical | Ubuntu Linux | Versions 16.04, 18.04 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugs.launchpad.net/bugs/1901572
- https://github.com/snapcore/snapcraft/pull/3345
- https://usn.ubuntu.com/usn/usn-4661-1
- https://github.com/advisories/GHSA-qxm5-vx5j-pp6w
- https://nvd.nist.gov/vuln/detail/CVE-2020-27348
- https://github.com/snapcore/snapcraft/commit/a0ceca9d531a34c979251030ed67b5fa2abfdd9a
- https://github.com/pypa/advisory-database/tree/main/vulns/snapcraft/PYSEC-2020-109.yaml