CVE Catalog

CVE-2017-15288

High
Published: Translated: NVD NIST

Summary

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, allowing local users to write to arbitrary class files and consequently gain privileges.

Risk Assessment

Local users can exploit this vulnerability to modify class files, potentially leading to privilege escalation and system takeover.

Recommendation

It is recommended to upgrade to the latest version of Scala to eliminate weak permissions and secure access to files in the temporary directory.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS