CVE-2020-27348: snapcraft Access Restriction Bypass
(updated )
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
- bugs.launchpad.net/bugs/1901572
- github.com/advisories/GHSA-qxm5-vx5j-pp6w
- github.com/pypa/advisory-database/tree/main/vulns/snapcraft/PYSEC-2020-109.yaml
- github.com/snapcore/snapcraft
- github.com/snapcore/snapcraft/commit/a0ceca9d531a34c979251030ed67b5fa2abfdd9a
- github.com/snapcore/snapcraft/pull/3345
- nvd.nist.gov/vuln/detail/CVE-2020-27348
- usn.ubuntu.com/usn/usn-4661-1
Detect and mitigate CVE-2020-27348 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →