Advisory

GHSA-qxm5-vx5j-pp6w

Also known as: CVE-2020-27348, PYSEC-2020-109

Summary

snapcraft Access Restriction Bypass

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:35 UTC
Modified
2024-10-23 19:10 UTC

Affected packages and fixes

snapcraft

PyPI · All systems

Affected

  • introduced 0, fixed 4.4.4 (ecosystem)

Fixed versions

4.4.4

Fix

  • Fixed version 4.4.4
    pip install --upgrade snapcraft==4.4.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences