CVE-2020-27348: medium-severity vulnerability in Canonical snapcraft
snapcraft may build snaps with incorrect LD_LIBRARY_PATH
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Snapcraft incorrectly includes the current directory in LD_LIBRARY_PATH during snap building, allowing a malicious snap to execute code within another snap's context if both share access to the home directory or similar interfaces.
A path traversal vulnerability in snapcraft's build process results in LD_LIBRARY_PATH misconfiguration, enabling privilege escalation when two snaps with shared interface access (home, etc.) coexist on the same system. An attacker controlling one snap can inject malicious libraries that execute within another snap's runtime environment.