CVE-2017-15288
Scala-lang Scala vulnerability
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 products
Scala. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Scala-lang Scala runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- scala-lang.org/news/security-update-nov17.html · Mitigation
- github.com/scala/scala/pull/6108 · Patch
- github.com/scala/scala/pull/6120 · Patch
- github.com/scala/scala/pull/6128 · Third Party Advisory
- security.gentoo.org/glsa/201812-08 · Third Party Advisory
- lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3
- lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3
- lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3
- nvd.nist.gov/vuln/detail/CVE-2017-15288
- cve.org/CVERecord?id=CVE-2017-15288
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.