GHSA-qxm5-vx5j-pp6w
snapcraft Access Restriction Bypass
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-27348
- https://github.com/snapcore/snapcraft/pull/3345
- https://github.com/snapcore/snapcraft/commit/a0ceca9d531a34c979251030ed67b5fa2abfdd9a
- https://bugs.launchpad.net/bugs/1901572
- https://github.com/pypa/advisory-database/tree/main/vulns/snapcraft/PYSEC-2020-109.yaml
- https://github.com/snapcore/snapcraft
- https://usn.ubuntu.com/usn/usn-4661-1