Live threats

All CVEs / Scala-lang

CVE-2017-15288Scala-lang Scala

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 30
Auth required
Yes
Published
Nov 15, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Scala.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.scala-lang:scala-compiler < 2.10.7 2.10.7 —
Maven org.scala-lang:scala-compiler ≥ 2.11.0 < 2.11.12 2.11.12 —
Maven org.scala-lang:scala-compiler ≥ 2.12.0 < 2.12.4 2.12.4 —

Per OSV / GitHub Advisories (GHSA-qvxv-pmq9-4q7g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
scala-langscala< 2.10.7
scala-langscala≥ 2.11.0 < 2.11.12
scala-langscala≥ 2.12.0 < 2.12.4

Official sources

References

Links published by the sources. Open them with care.