Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Scala-Lang | Scala | < 2.10.7 |
Related Weaknesses (CWE)
References
- http://scala-lang.org/news/security-update-nov17.htmlIssue TrackingMitigationVendor Advisory
- https://github.com/scala/scala/pull/6108Issue TrackingPatchThird Party Advisory
- https://github.com/scala/scala/pull/6120Issue TrackingPatchThird Party Advisory
- https://github.com/scala/scala/pull/6128Issue TrackingThird Party Advisory
- https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12e
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d28
- https://lists.apache.org/thread.html/r10dd8e5b3bbe3bb531aa4a65472ce56f91efbb77ea
- https://lists.apache.org/thread.html/r18a05115cfa078c0f4e5c1ea2e8d64804f63e0095a
- https://lists.apache.org/thread.html/r1d51eae81ceb7bfd1780936a48b460ab31d53ff2ed
- https://lists.apache.org/thread.html/r32e0b1d5ff43ac3ed4b179a4e663022d1c5ccac778
- https://lists.apache.org/thread.html/r33665e9213cc6df1e48c3d99d1b0c7a3203e9bd0ef
- https://lists.apache.org/thread.html/r3f10022ec972c8df29a950d1a591c16562eeddd919
- https://lists.apache.org/thread.html/r5a1418a4f5101f5af3fc14bf358c54f2c7200e6a37
FAQ
What is CVE-2017-15288?
CVE-2017-15288 is a vulnerability with a CVSS score of 7.8 (HIGH). 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, wh...
How severe is CVE-2017-15288?
CVE-2017-15288 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-15288?
Check the references section above for vendor advisories and patch information. Affected products include: Scala-Lang Scala.