Path to vulnerable library: /home/wss-scanner/.m2/repository/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar,/home/wss-scanner/.m2/repository/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar,/home/wss-scanner/.m2/repository/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar
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.10.1.jar
Compiler for the Scala Programming Language
Library home page: http://www.scala-lang.org/
Path to dependency file: /camus-example/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar,/home/wss-scanner/.m2/repository/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar,/home/wss-scanner/.m2/repository/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar
Dependency Hierarchy: - camus-etl-kafka-0.1.0-SNAPSHOT.jar (Root Library) - kafka_2.10-0.8.0.jar - :x: **scala-compiler-2.10.1.jar** (Vulnerable Library)
Found in HEAD commit: 1053f8fe9c963d2cf33163881f6fe4c0bc437da2
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