{
  "threat_severity" : "Moderate",
  "public_date" : "2017-11-13T00:00:00Z",
  "bugzilla" : {
    "description" : "scala: Privilege escalation in Scala compilation daemon",
    "id" : "1516915",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1516915"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.7",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-377",
  "details" : [ "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." ],
  "package_state" : [ {
    "product_name" : "JBoss Developer Studio 10",
    "fix_state" : "Not affected",
    "package_name" : "scala-compiler",
    "cpe" : "cpe:/a:redhat:jboss_dev_studio:10."
  }, {
    "product_name" : "JBoss Developer Studio 10",
    "fix_state" : "Not affected",
    "package_name" : "scala-library",
    "cpe" : "cpe:/a:redhat:jboss_dev_studio:10."
  }, {
    "product_name" : "JBoss Developer Studio 8",
    "fix_state" : "Not affected",
    "package_name" : "scala-library",
    "cpe" : "cpe:/a:redhat:jboss_dev_studio:8."
  }, {
    "product_name" : "Red Hat JBoss A-MQ 6",
    "fix_state" : "Not affected",
    "package_name" : "scala-library",
    "cpe" : "cpe:/a:redhat:jboss_amq:6"
  }, {
    "product_name" : "Red Hat JBoss Data Grid 6",
    "fix_state" : "Will not fix",
    "package_name" : "scala-library",
    "cpe" : "cpe:/a:redhat:jboss_data_grid:6"
  }, {
    "product_name" : "Red Hat JBoss Data Grid 7",
    "fix_state" : "Not affected",
    "package_name" : "scala-library",
    "cpe" : "cpe:/a:redhat:jboss_data_grid:7"
  }, {
    "product_name" : "Red Hat JBoss Data Virtualization 6",
    "fix_state" : "Not affected",
    "package_name" : "scala-library",
    "cpe" : "cpe:/a:redhat:jboss_data_virtualization:6"
  }, {
    "product_name" : "Red Hat JBoss Fuse 6",
    "fix_state" : "Not affected",
    "package_name" : "Camel",
    "cpe" : "cpe:/a:redhat:jboss_fuse:6"
  }, {
    "product_name" : "Red Hat JBoss Fuse Service Works 6",
    "fix_state" : "Will not fix",
    "package_name" : "camel-scala",
    "cpe" : "cpe:/a:redhat:jboss_fuse_service_works:6"
  }, {
    "product_name" : "Red Hat JBoss Fuse Service Works 6",
    "fix_state" : "Will not fix",
    "package_name" : "scala-compiler",
    "cpe" : "cpe:/a:redhat:jboss_fuse_service_works:6"
  }, {
    "product_name" : "Red Hat JBoss Fuse Service Works 6",
    "fix_state" : "Will not fix",
    "package_name" : "scala-library",
    "cpe" : "cpe:/a:redhat:jboss_fuse_service_works:6"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Will not fix",
    "package_name" : "rh-scala210-scala",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2017-15288\nhttps://nvd.nist.gov/vuln/detail/CVE-2017-15288" ],
  "name" : "CVE-2017-15288",
  "mitigation" : {
    "value" : "1. Use \"scala -nocompdaemon MyScript.scala\" rather than \"scala MyScript.scala\" to disable the implicit startup and use of the daemon.\n2. Avoid explicitly starting fsc.\nThis text is borrowed from the upstream security advisory.",
    "lang" : "en:us"
  },
  "csaw" : false
}