{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-27348","id":"CVE-2020-27348","title":"snapcraft may build snaps with incorrect LD_LIBRARY_PATH","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.","descriptionLong":"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.","published":"2020-12-04T02:30:36.159Z","updated":"2026-10-20T10:53:06.647129267Z","reserved":"2020-10-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","rating":"medium","source":"canonical"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Canonical snapcraft"],"affectedProducts":[{"vendor":"Canonical","product":"snapcraft","defaultStatus":null,"versions":[{"lessThan":"4.4.4","status":"affected","version":"4.4","versionType":"custom"},{"changes":[{"at":"2.43.1+18.04.1","status":"unaffected"}],"lessThan":"2.43.1+16.04.1","status":"affected","version":"2.43.1","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"snapcraft","purl":"pkg:pypi/snapcraft","ranges":["<4.4.4","<2.43.1"],"fixed":["4.4.4","2.43.1"],"advisory":"GHSA-qxm5-vx5j-pp6w"}],"cwes":["CWE-427"],"aliases":["GHSA-qxm5-vx5j-pp6w","PYSEC-2020-109"],"references":[{"url":"https://github.com/snapcore/snapcraft/pull/3345","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://usn.ubuntu.com/usn/usn-4661-1","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"https://bugs.launchpad.net/bugs/1901572","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27348","tags":["advisory"]},{"url":"https://github.com/snapcore/snapcraft/commit/a0ceca9d531a34c979251030ed67b5fa2abfdd9a","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/snapcraft/PYSEC-2020-109.yaml","tags":["web"]},{"url":"https://github.com/snapcore/snapcraft","tags":["package"]},{"url":"https://github.com/advisories/GHSA-qxm5-vx5j-pp6w","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00703,"epssPercentile":0.53977,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-27348","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27348","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-27348","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qxm5-vx5j-pp6w","ok":true,"note":"GHSA-qxm5-vx5j-pp6w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-27348","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}