CVE-2020-27348

published 4 Dec 2020 · updated 16 Sep 2024

snapcraft may build snaps with incorrect LD_LIBRARY_PATH

6.8MediumCVSS 6.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.43.1+16.04.1 and 4.4.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Canonical>=2.43.1 <2.43.1+16.04.1, >=4.4 <4.4.42.43.1+16.04.1, 4.4.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-27348 severity on Zeptric[![CVE-2020-27348](https://zeptric.io/badge/cve/CVE-2020-27348.svg)](https://zeptric.io/cve/CVE-2020-27348)