Vulnerability identifier: #VU16559
Vulnerability risk: Low
CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID:
CWE-ID:
CWE-264
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
Scala
Universal components / Libraries /
Scripting languages
Vendor: Scala
Description
The vulnerability allows a local attacker to gain elevated privileges on the target system.
The vulnerability exists due to the compilation daemon uses weak permissions for private files in /tmp/scala-devel/${USER:shared}/scalac-compile-server-port. A local attacker can write to arbitrary class files and consequently gain privileges.
Mitigation
The vulnerability has been fixed in the versions 2.10.7, 2.11.12, 2.12.4.
Vulnerable software versions
Scala: 2.1.0 - 2.12.3
External links
https://www.scala-lang.org/news/security-update-nov17.html
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.