Scala: Privilege escalation — GLSA 201812-08

A vulnerability in Scala could result in privilege escalation.

Affected packages

dev-lang/scala on all architectures
Affected versions < 2.12.4
Unaffected versions >= 2.12.4

Background

Scala combines object-oriented and functional programming in one concise, high-level language.

Description

It was discovered that Scala’s compilation daemon does not properly manage permissions for private files.

Impact

A local attacker could escalate privileges.

Workaround

There is no known workaround at this time.

Resolution

All Scala users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/scala-2.12.4"
 

References

Release date
December 15, 2018

Latest revision
December 15, 2018: 1

Severity
normal

Exploitable
local

Bugzilla entries