GitHub Advisoryadvisory · PyPI
GHSA-qxm5-vx5j-pp6w snapcraft Access Restriction Bypass
MEDIUM
Official page ↗
- Aliases
- CVE-2020-27348
- Ecosystem
- PyPI
- Packages
- snapcraft
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
- Weaknesses
- CWE-427
- Reviewed
- 2024-04-22
Affected packages
• PyPI snapcraft: < 4.4.4 → fixed in 4.4.4
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.
Related
Alias · CVE (1)
- CVE-2020-27348 In some conditions, a snap package built by snapcraft includes the current directory in LD_LIBRARY_PATH, allowing a malicious snap to gain… vulnerability
Weakness · CWE (1)
- CWE-427 Uncontrolled Search Path Element weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-27348 advisory
- https://github.com/snapcore/snapcraft/pull/3345 web
- https://github.com/snapcore/snapcraft/commit/a0ceca9d531a34c979251030ed67b5fa2abfdd9a web
- https://bugs.launchpad.net/bugs/1901572 web
- https://github.com/pypa/advisory-database/tree/main/vulns/snapcraft/PYSEC-2020-109.yaml web
- https://github.com/snapcore/snapcraft package
- https://usn.ubuntu.com/usn/usn-4661-1 web