{"id":"UBUNTU-CVE-2018-18654","details":"Crossroads 2.81 does not properly handle the /tmp directory during a build of xr. A local attacker can first create a world-writable subdirectory in a certain location under the /tmp directory, wait until a user process copies xr there, and then replace the entire contents of this subdirectory to include a Trojan horse xr.","modified":"2025-10-24T04:47:15Z","published":"2018-10-26T00:29:00Z","upstream":["CVE-2018-18654"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18654"},{"type":"REPORT","url":"https://bugs.debian.org/911877"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-18654"}],"affected":[{"package":{"name":"crossroads","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/crossroads@2.65-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.65-1.1","2.65-2"],"ecosystem_specific":{"binaries":[{"binary_name":"crossroads","binary_version":"2.65-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-18654.json"}},{"package":{"name":"crossroads","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/crossroads@2.81-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.81-2"],"ecosystem_specific":{"binaries":[{"binary_name":"crossroads","binary_version":"2.81-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-18654.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}