cve.bz

CVE-2017-15288 scala-lang scala

7.8 highEPSS 0.3%Fix available

High (7.8) in scala-lang scala. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.scala-lang:scala-compiler 2.10.7, 2.11.12, 2.12.4.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-15288 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-15288?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-15288?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-15288 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
scala-lang:scalabefore 2.10.7
scala-lang:scalafrom 2.11.0 before 2.11.12
scala-lang:scalafrom 2.12.0 before 2.12.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qvxv-pmq9-4q7gMavenorg.scala-lang:scala-compiler<2.10.72.10.7
GHSA-qvxv-pmq9-4q7gMavenorg.scala-lang:scala-compiler>=2.11.0 <2.11.122.11.12
GHSA-qvxv-pmq9-4q7gMavenorg.scala-lang:scala-compiler>=2.12.0 <2.12.42.12.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14scala2.11.12-1DEBIAN-CVE-2017-15288
Ubuntu16.04:LTSscalano fix listedUBUNTU-CVE-2017-15288

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

1. Use "scala -nocompdaemon MyScript.scala" rather than "scala MyScript.scala" to disable the implicit startup and use of the daemon.

2. Avoid explicitly starting fsc.

This text is borrowed from the upstream security advisory.

ProductPackageStateAdvisory
JBoss Developer Studio 10scala-compilerNot affected
JBoss Developer Studio 10scala-libraryNot affected
JBoss Developer Studio 8scala-libraryNot affected
Red Hat JBoss A-MQ 6scala-libraryNot affected
Red Hat JBoss Data Grid 6scala-libraryWill not fix
Red Hat JBoss Data Grid 7scala-libraryNot affected
Red Hat JBoss Data Virtualization 6scala-libraryNot affected
Red Hat JBoss Fuse 6camelNot affected
Red Hat JBoss Fuse Service Works 6camel-scalaWill not fix
Red Hat JBoss Fuse Service Works 6scala-compilerWill not fix
Red Hat JBoss Fuse Service Works 6scala-libraryWill not fix
Red Hat Software Collectionsrh-scala210-scalaWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-15288.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON