CVE-2017-15288Scala-lang Scala
High 7.8
Follow: this CVE · Scala-lang · Scala-lang Scala We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Scala.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| scala-lang | scala | < 2.10.7 |
| scala-lang | scala | ≥ 2.11.0 < 2.11.12 |
| scala-lang | scala | ≥ 2.12.0 < 2.12.4 |
Official sources
References
Links published by the sources. Open them with care.
- scala-lang.org Issue Tracking Mitigation Vendor Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- security.gentoo.org Third Party Advisory