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.
CVE-2017-15288 - High Severity Vulnerability
Vulnerable Library - scala-compiler-2.11.8.jar
Compiler for the Scala Programming Language
Library home page: http://www.scala-lang.org/
Path to vulnerable library: /root/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.8.jar
Dependency Hierarchy: - dir-watcher_2.11-0.1.0.jar (Root Library) - util-eval_2.11-6.26.0.jar - :x: **scala-compiler-2.11.8.jar** (Vulnerable Library)
Found in base branch: master
Vulnerability 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.
Publish Date: 2017-11-15
URL: CVE-2017-15288
CVSS 3 Score Details (7.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2017-15288
Release Date: 2017-11-15
Fix Resolution: 2.10.7,2.11.12,2.12.4
Step up your Open Source Security Game with Mend here