{"id":"UBUNTU-CVE-2017-15288","details":"The compilation daemon in Scala before 2.10.7, 2.11.x before 2.11.12, and 2.12.x before 2.12.4 uses weak permissions for private files in /tmp/scala-devel/${USER:shared}/scalac-compile-server-port, which allows local users to write to arbitrary class files and consequently gain privileges.","modified":"2025-10-24T04:46:33Z","published":"2017-11-15T16:29:00Z","upstream":["CVE-2017-15288"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-15288"},{"type":"REPORT","url":"http://scala-lang.org/news/security-update-nov17.html"},{"type":"REPORT","url":"https://github.com/scala/scala/pull/6108"},{"type":"REPORT","url":"https://github.com/scala/scala/pull/6120"},{"type":"REPORT","url":"https://github.com/scala/scala/pull/6128"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-15288"}],"affected":[{"package":{"name":"scala","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/scala@2.11.6-6?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.6-1","2.11.6-2","2.11.6-3","2.11.6-4","2.11.6-6"],"ecosystem_specific":{"binaries":[{"binary_name":"scala","binary_version":"2.11.6-6"},{"binary_name":"scala-library","binary_version":"2.11.6-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-15288.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}