GHSA-qvxv-pmq9-4q7g

Suggest an improvement
Source
https://github.com/advisories/GHSA-qvxv-pmq9-4q7g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-qvxv-pmq9-4q7g/GHSA-qvxv-pmq9-4q7g.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qvxv-pmq9-4q7g
Aliases
Published
2018-10-19T16:51:11Z
Modified
2024-03-14T05:49:24.124824Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
High severity vulnerability that affects org.scala-lang:scala-compiler
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.

Database specific
{
    "nvd_published_at": "2017-11-15T16:29:00Z",
    "cwe_ids": [
        "CWE-732"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:52:54Z"
}
References

Affected packages

Maven / org.scala-lang:scala-compiler

Package

Name
org.scala-lang:scala-compiler
View open source insights on deps.dev
Purl
pkg:maven/org.scala-lang/scala-compiler

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.10.7

Affected versions

2.*

2.3.1
2.3.3
2.4.0-RC1
2.4.0-RC2
2.4.0
2.5.0-RC1
2.5.0-RC2
2.5.0
2.5.1
2.6.0-RC2
2.6.0-RC3
2.6.0
2.6.1-rc1
2.6.1-rc2
2.6.1
2.7.0-rc1
2.7.0-rc2
2.7.0-rc3
2.7.0
2.7.1-rc1
2.7.1-rc2
2.7.1
2.7.2-rc1
2.7.2-rc2
2.7.2-rc3
2.7.2-rc6
2.7.2
2.7.3.RC1
2.7.3.RC2
2.7.3
2.7.4.RC1
2.7.4
2.7.4.final
2.7.5
2.7.6
2.7.7.RC1
2.7.7.RC2
2.7.7
2.8.0.Beta1-RC1
2.8.0.Beta1-RC2
2.8.0.Beta1-RC3
2.8.0.Beta1-RC4
2.8.0.Beta1-RC5
2.8.0.Beta1-RC6
2.8.0.Beta1-RC7
2.8.0.Beta1-RC8
2.8.0.Beta1
2.8.0.RC1
2.8.0.RC2
2.8.0.RC3
2.8.0.RC4
2.8.0.RC5
2.8.0.RC6
2.8.0.RC7
2.8.0
2.8.0.r18462-b20090811081019
2.8.1.RC1
2.8.1.RC2
2.8.1.RC3
2.8.1.RC4
2.8.1
2.8.2.RC1
2.8.2.RC2
2.8.2.RC3
2.8.2
2.9.0.RC1
2.9.0.RC2
2.9.0.RC3
2.9.0.RC4
2.9.0.RC5
2.9.0
2.9.0-1
2.9.1.RC1
2.9.1.RC2
2.9.1.RC3
2.9.1.RC4
2.9.1
2.9.1-1-RC1
2.9.1-1
2.9.2-RC1
2.9.2-RC2
2.9.2-RC3
2.9.2
2.9.3-RC1
2.9.3-RC2
2.9.3
2.10.0-M1
2.10.0-M1-virtualized
2.10.0-M1-virtualized.rdev-4217-2012-01-24-g9118644
2.10.0-M2
2.10.0-M3
2.10.0-M4
2.10.0-M5
2.10.0-M6
2.10.0-M7
2.10.0-RC1
2.10.0-RC2
2.10.0-RC3
2.10.0-RC4
2.10.0-RC5
2.10.0
2.10.1-RC1
2.10.1-RC2
2.10.1-RC3
2.10.1
2.10.2-RC1
2.10.2-RC2
2.10.2
2.10.3-RC1
2.10.3-RC2
2.10.3-RC3
2.10.3
2.10.4-RC1
2.10.4-RC2
2.10.4-RC3
2.10.4
2.10.5
2.10.6

Maven / org.scala-lang:scala-compiler

Package

Name
org.scala-lang:scala-compiler
View open source insights on deps.dev
Purl
pkg:maven/org.scala-lang/scala-compiler

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.11.0
Fixed
2.11.12

Affected versions

2.*

2.11.0
2.11.1
2.11.2
2.11.3
2.11.4
2.11.5
2.11.6
2.11.7
2.11.8
2.11.8-18269ea
2.11.9
2.11.10
2.11.11

Maven / org.scala-lang:scala-compiler

Package

Name
org.scala-lang:scala-compiler
View open source insights on deps.dev
Purl
pkg:maven/org.scala-lang/scala-compiler

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.12.0
Fixed
2.12.4

Affected versions

2.*

2.12.0
2.12.1
2.12.2
2.12.3