CVEvulnerability
CVE-2020-27348
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-12-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
- CVSS 2.0 ([email protected])
- 4.4 MEDIUM — AV:L/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-427
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.
Affected configurations
• canonical snapcraft (< 4.4.4)
• canonical ubuntu linux 16.04
• canonical ubuntu linux 18.04
Related
Weakness · CWE (1)
- CWE-427 Uncontrolled Search Path Element weakness
References
- https://bugs.launchpad.net/bugs/1901572 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/snapcore/snapcraft/pull/3345 Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4661-1 Patch, Third Party Advisory
- https://bugs.launchpad.net/bugs/1901572 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/snapcore/snapcraft/pull/3345 Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4661-1 Patch, Third Party Advisory