Skip to content
OpenAdvisories
High · 7.8 CVE-2017-15288 EUVD-2018-0669GHSA-qvxv-pmq9-4q7g

High severity vulnerability that affects org.scala-lang:scala-compiler

Published Nov 15, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 scala 2.11.12-1 —
Debian 13 scala 2.11.12-1 —
Debian 12 scala 2.11.12-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS scala No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.scala-lang:scala-compiler < 2.10.7 2.10.7 GHSA-qvxv-pmq9-4q7g
Maven org.scala-lang:scala-compiler >= 2.11.0, < 2.11.12 2.11.12 GHSA-qvxv-pmq9-4q7g
Maven org.scala-lang:scala-compiler >= 2.12.0, < 2.12.4 2.12.4 GHSA-qvxv-pmq9-4q7g

References