ADVISORIES

GitHub Advisory Database

GHSA-qvxv-pmq9-4q7g

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

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.scala-lang:scala-compiler
All versions before 2.10.7 (fixed in 2.10.7)
Mavenorg.scala-lang:scala-compiler
From 2.11.0 before 2.11.12 (fixed in 2.11.12)
Mavenorg.scala-lang:scala-compiler
From 2.12.0 before 2.12.4 (fixed in 2.12.4)

References