CVE-2020-27348
published medium CVSS 3.1 · 6.8snapcraft may build snaps with incorrect LD_LIBRARY_PATH
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | snapcraft4.4 to < 4.4.4 (affected · custom) · 2.43.1 to < 2.43.1+16.04.1 (affected · custom); changes: unaffected at 2.43.1+18.04.1 | Version-specific | Not stated | canonical |
| Ubuntu | bionic | snapcraft | Advisory build | 2.43.1+18.04.1 | USN-4661-1 |
| Ubuntu | xenial | snapcraft | Advisory build | 2.43.1+16.04.1 | USN-4661-1 |
| Ubuntu | bionic | snapcraft-examples | Advisory build | 2.43.1+18.04.1 | USN-4661-1 |
| Ubuntu | bionic | snapcraft-parser | Advisory build | 2.43.1+18.04.1 | USN-4661-1 |
| Ubuntu | xenial | snapcraft-examples | Advisory build | 2.43.1+16.04.1 | USN-4661-1 |
| Ubuntu | xenial | snapcraft-parser | Advisory build | 2.43.1+16.04.1 | USN-4661-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | snapcraft | 4.4 to < 4.4.4 (affected · custom)2.43.1 to < 2.43.1+16.04.1 (affected · custom); changes: unaffected at 2.43.1+18.04.1 | canonical · cna |
Weaknesses
1- CWE-427 CWE-427 Uncontrolled Search Path Element
References
3Provider assertions
2canonical · cna
snapcraft may build snaps with incorrect LD_LIBRARY_PATH
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2053b555045382476224b1480cc6856406701f0d78af65549fc0118f7b916f85
- Ingested
- 23 Sep 2026, 07:49:56 UTC
- Source record
- Official CVE record