Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.scala-lang/scala-compiler
  4. ›
  5. CVE-2017-15288

CVE-2017-15288: Incorrect Permission Assignment for Critical Resource

October 19, 2018 (updated September 16, 2021)

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.

References

  • github.com/advisories/GHSA-qvxv-pmq9-4q7g
  • github.com/scala/scala/pull/6108
  • github.com/scala/scala/pull/6120
  • github.com/scala/scala/pull/6128
  • nvd.nist.gov/vuln/detail/CVE-2017-15288

Code Behaviors & Features

Detect and mitigate CVE-2017-15288 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.10.7, all versions starting from 2.11.0 before 2.11.12, all versions starting from 2.12.0 before 2.12.4

Fixed versions

  • 2.10.7
  • 2.11.12
  • 2.12.4

Solution

Upgrade to versions 2.10.7, 2.11.12, 2.12.4 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

maven/org.scala-lang/scala-compiler/CVE-2017-15288.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:34 +0000.