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.
| Software | From | Fixed in |
|---|---|---|
| scala-lang / scala | - | 2.10.7 |
| scala-lang / scala | 2.11.0 | 2.11.12 |
| scala-lang / scala | 2.12.0 | 2.12.4 |
org.scala-lang / scala-compiler
|
- | 2.10.7 |
org.scala-lang / scala-compiler
|
2.11.0 | 2.11.12 |
org.scala-lang / scala-compiler
|
2.12.0 | 2.12.4 |