Skip to content
OpenAdvisories
Medium USN-4661-1 1 CVE

snapcraft vulnerability

Published Dec 3, 2020 · Updated Feb 10, 2026

Summary

It was discovered that Snapcraft includes the current directory when
configuring LD_LIBRARY_PATH for application commands. If a user were
tricked into installing a malicious snap or downloading a malicious
library, under certain circumstances an attacker could exploit this to
affect strict mode snaps that have access to the library and when
launched from the directory containing the library.

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 16.04 LTS 16.04:LTS snapcraft 2.43.1+16.04.1
Ubuntu · 18.04 LTS 18.04:LTS snapcraft 2.43.1+18.04.1

Vulnerabilities 1

  • Medium 6.8

    snapcraft may build snaps with incorrect LD_LIBRARY_PATH

    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 snapcra…

References

  • report
    https://ubuntu.com/security/CVE-2020-27348
  • report
    https://launchpad.net/bugs/1901572