It was discovered that Snapcraft includes the current directory when configuring LDLIBRARYPATH 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.
{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "snapcraft",
"binary_version": "2.43.1+16.04.1"
},
{
"binary_name": "snapcraft-examples",
"binary_version": "2.43.1+16.04.1"
},
{
"binary_name": "snapcraft-parser",
"binary_version": "2.43.1+16.04.1"
}
]
}
{
"ecosystem": "Ubuntu:16.04:LTS",
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2020-27348"
}
]
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "snapcraft",
"binary_version": "2.43.1+18.04.1"
},
{
"binary_name": "snapcraft-examples",
"binary_version": "2.43.1+18.04.1"
},
{
"binary_name": "snapcraft-parser",
"binary_version": "2.43.1+18.04.1"
}
]
}
{
"ecosystem": "Ubuntu:18.04:LTS",
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2020-27348"
}
]
}