CVE-2020-27348

snapcraft may build snaps with incorrect LD_LIBRARY_PATH

Published Dec 4, 2020 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-0181 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.
Github GHSA Github GHSA GHSA-qxm5-vx5j-pp6w snapcraft Access Restriction Bypass
Ubuntu USN Ubuntu USN USN-4661-1 Snapcraft vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Sep 16, 2024, 5:14 PM
Reserved
Oct 20, 2020, 12:00 AM
Status
Modified
Published
Dec 4, 2020, 3:15 AM
Modified
Jun 17, 2026, 3:09 AM