CVE-2017-15288: High severity vulnerability that affects org.scala-lang:scala-compiler
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.36684%
CWE
Published
10/19/2018
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.scala-lang:scala-compiler | maven | < 2.10.7 | 2.10.7 |
org.scala-lang:scala-compiler | maven | >= 2.11.0, < 2.11.12 | 2.11.12 |
org.scala-lang:scala-compiler | maven | >= 2.12.0, < 2.12.4 | 2.12.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from insecure file permissions in temporary directories. Key evidence comes from: 1) The CWE-732 mapping (Incorrect Permission Assignment) 2) Patch commits moving files to ~/.scalac
and adding OwnerOnlyChmod
3) Code comments about 'weak permissions' in /tmp/scala-devel
4) Security advisory explicitly mentioning the /tmp/scala-devel
path. The identified functions are directly involved in creating and securing these temporary files, with the original implementations lacking proper permission hardening.