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.
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Scala | Scala-lang | * | 2.10.7 (excluding) |
Scala | Scala-lang | 2.11.0 (including) | 2.11.12 (excluding) |
Scala | Scala-lang | 2.12.0 (including) | 2.12.4 (excluding) |
Scala | Ubuntu | artful | * |
Scala | Ubuntu | esm-apps/xenial | * |
Scala | Ubuntu | trusty | * |
Scala | Ubuntu | upstream | * |
Scala | Ubuntu | xenial | * |
Scala | Ubuntu | zesty | * |