Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. snapcraft
  4. ›
  5. CVE-2020-27348

CVE-2020-27348: snapcraft Access Restriction Bypass

May 24, 2022 (updated October 23, 2024)

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.

References

  • bugs.launchpad.net/bugs/1901572
  • github.com/advisories/GHSA-qxm5-vx5j-pp6w
  • github.com/pypa/advisory-database/tree/main/vulns/snapcraft/PYSEC-2020-109.yaml
  • github.com/snapcore/snapcraft
  • github.com/snapcore/snapcraft/commit/a0ceca9d531a34c979251030ed67b5fa2abfdd9a
  • github.com/snapcore/snapcraft/pull/3345
  • nvd.nist.gov/vuln/detail/CVE-2020-27348
  • usn.ubuntu.com/usn/usn-4661-1

Code Behaviors & Features

Detect and mitigate CVE-2020-27348 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.4.4

Fixed versions

  • 4.4.4

Solution

Upgrade to version 4.4.4 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-427: Uncontrolled Search Path Element

Source file

pypi/snapcraft/CVE-2020-27348.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.