Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-15288

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-15288
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:45 UTC · Revision 1

Source evidence

CVE-2017-15288

core-osv · Original source

Published 15 Nov 2017, 16:29 UTC

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.

osv:CVE-2017-15288
Complete source record
{
  "id": "8430c807f2f156aa2db304547f90c25080550c2286427515238d35e89587789f",
  "url": "https://osv.dev/vulnerability/CVE-2017-15288",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-15288",
    "summary": "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.",
    "evidence": "osv:CVE-2017-15288",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-15288",
      "aliases": [
        "CVE-2017-15288",
        "GHSA-qvxv-pmq9-4q7g"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/scala/scala",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "89e57bc7ad4a1809864b637617456736fd7b8101"
                },
                {
                  "introduced": "cac6383e6658dc5956540b76b9b46c3b664774ac"
                },
                {
                  "fixed": "b8155a5502d6608e491a241a94c82cdec1f4a161"
                },
                {
                  "introduced": "8684ae833dcfeac6107343fcca5501301e509eef"
                },
                {
                  "fixed": "c2a5883891a68180b143eb462c8b0cebc8d3b021"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.10.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.11.0"
                      },
                      {
                        "fixed": "2.11.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.12.0"
                      },
                      {
                        "fixed": "2.12.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.12.3",
            "v2.10.6",
            "v2.12.2",
            "v2.11.11",
            "v2.11.10",
            "v2.11.9",
            "v2.12.1",
            "v2.12.0-RC1",
            "v2.12.0-M5",
            "v2.12.0-M4",
            "v2.11.8",
            "v2.12.0-M3",
            "v2.12.0-M2",
            "v2.11.7",
            "v2.12.0-M1",
            "v2.11.0",
            "v2.10.5",
            "v2.11.6",
            "v2.11.5",
            "v2.11.3",
            "v2.11.4",
            "v2.11.2",
            "v2.11.1",
            "v2.10.4-RC3",
            "v2.10.4",
            "v2.10.4-RC2",
            "v2.10.4-RC1",
            "v2.10.3-RC1",
            "v2.10.2-RC1",
            "v2.10.0-M7",
            "v2.10.0-M6",
            "v2.10.0-M5",
            "v2.10.0-M4",
            "v2.10.0-M3",
            "v2.10.0-M2",
            "v2.10.0-M1",
            "v2.8-diverged",
            "v2.9-diverged",
            "v2.7-diverged",
            "v2.3.3",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.0",
            "v2.1.8",
            "v2.1.7",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.0",
            "v1.4.0+3",
            "v1.1.0-b0",
            "v1.0.0-b6",
            "v1.0.0-b5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15288.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:50.341509301Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3Cissues.activemq.apache.org%3E",
        "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E",
        "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E",
        "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E",
        "https://lists.apache.org/thread.html/r10dd8e5b3bbe3bb531aa4a65472ce56f91efbb77ea9fe04bb8272e2c%40%3Cjira.kafka.apache.org%3E",
        "https://lists.apache.org/thread.html/r18a05115cfa078c0f4e5c1ea2e8d64804f63e0095aa2174a3afecc0f%40%3Cjira.kafka.apache.org%3E",
        "https://lists.apache.org/thread.html/r1d51eae81ceb7bfd1780936a48b460ab31d53ff2ed526a88a7f60fe4%40%3Ccommits.druid.apache.org%3E",
        "https://lists.apache.org/thread.html/r32e0b1d5ff43ac3ed4b179a4e663022d1c5ccac77884a99ea149e633%40%3Ccommits.druid.apache.org%3E",
        "https://lists.apache.org/thread.html/r33665e9213cc6df1e48c3d99d1b0c7a3203e9bd0ef4fc4ba838bcb04%40%3Cjira.kafka.apache.org%3E",
        "https://lists.apache.org/thread.html/r3f10022ec972c8df29a950d1a591c16562eeddd9194d3010e46b9b76%40%3Cjira.kafka.apache.org%3E",
        "https://lists.apache.org/thread.html/r5a1418a4f5101f5af3fc14bf358c54f2c7200e6a3701de2e2f581e1b%40%3Cdev.kafka.apache.org%3E",
        "https://lists.apache.org/thread.html/r628ea3ea2fed4d9c1c5232a0b1ed108a15abc9fd2f0aaca1e8cc9164%40%3Cdev.kafka.apache.org%3E",
        "https://lists.apache.org/thread.html/re72f4d04dfc398aae0e38dbfeccf44780df2782623a610cbfcec6f3a%40%3Cjira.kafka.apache.org%3E",
        "https://lists.apache.org/thread.html/rf57e4d7211b30e51803911304f3b7b54393f7a4bd60bb0784c31eec1%40%3Cjira.kafka.apache.org%3E",
        "https://security.gentoo.org/glsa/201812-08",
        "https://github.com/scala/scala/pull/6128",
        "https://github.com/scala/scala/pull/6108",
        "https://github.com/scala/scala/pull/6120"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-15288",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379760,
  "published_at": "2017-11-15T16:29:00.45+00:00"
}