Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1516915 - (CVE-2017-15288) CVE-2017-15288 scala: Privilege escalation in Scala compilation daemon
CVE-2017-15288 scala: Privilege escalation in Scala compilation daemon
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20171113,repor...
: Security
Depends On: 1516916
Blocks: 1516920
  Show dependency treegraph
 
Reported: 2017-11-23 09:54 EST by Pedro Sampaio
Modified: 2018-05-02 15:33 EDT (History)
24 users (show)

See Also:
Fixed In Version: Scala 2.10.7, Scala 2.11.12, Scala 2.12.4
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-27 14:21:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pedro Sampaio 2017-11-23 09:54:59 EST
A flaw was found in Scala versions 2.1.6-2.10.6; 2.11.0-2.11.11; 2.12.0-2.12.3. An insecure use of temporary files may permit privilege escalation through the compile daemon leading to code execution and arbitrary class files writing as the user that started the daemon.

Upstream bug:

https://github.com/scala/scala/pull/6108

Upstream patch:

https://github.com/scala/scala/pull/6108/commits/b64ad85d1cfdfff29d0836a66736d6d2b0830c0e

References:

http://scala-lang.org/news/security-update-nov17.html
Comment 1 Pedro Sampaio 2017-11-23 09:55:57 EST
Created scala tracking bugs for this issue:

Affects: fedora-all [bug 1516916]
Comment 2 Dhiru Kholia 2018-01-23 01:58:16 EST
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.

Note You need to log in before you can comment on or make changes to this bug.