CVE-2017-15288

HIGH

Scala < 2.10.7 - Incorrect Permission Assignment

Title source: rule
STIX 2.1

Description

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.

References (19)

Core 19
Core References
Issue Tracking, Third Party Advisory x_refsource_confirm
https://github.com/scala/scala/pull/6128
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/scala/scala/pull/6120
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/scala/scala/pull/6108
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201812-08
Issue Tracking, Mitigation, Vendor Advisory x_refsource_confirm
http://scala-lang.org/news/security-update-nov17.html

Scores

CVSS v3 7.8
EPSS 0.0007
EPSS Percentile 21.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-732
Status published
Products (2)
org.scala-lang/scala-compiler 0 - 2.10.7Maven
scala-lang/scala < 2.10.7
Published Nov 15, 2017
Tracked Since Feb 18, 2026