Description
In JetBrains Kotlin from 1.4-M1 to 1.4-RC (as Kotlin 1.3.7x is not affected by the issue. Fixed version is 1.4.0) there is a script-cache privilege escalation vulnerability due to kotlin-main-kts cached scripts in the system temp directory, which is shared by all users by default.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | kotlin | No fix yet | — |
| Ubuntu 26.04 LTS | kotlin | No fix yet | — |
| Ubuntu 25.10 | kotlin | No fix yet | — |
| Ubuntu 24.04 LTS | kotlin | No fix yet | — |
| Ubuntu 22.04 LTS | kotlin | No fix yet | — |
References
- [groovy-users] 20201205 [SECURITY] CVE-2020-17521: Apache Groovy Information Disclosure mailing-list
- [groovy-dev] 20201205 [SECURITY] CVE-2020-17521: Apache Groovy Information Disclosure mailing-list
- [oss-security] 20201206 [CVE-2020-17521]: Apache Groovy Information Disclosure mailing-list
- [announce] 20201205 [SECURITY] CVE-2020-17521: Apache Groovy Information Disclosure mailing-list
- [groovy-notifications] 20201207 [jira] [Closed] (GROOVY-9824) CVE-2020-17521 Apache Groovy Information Disclosure mailing-list
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://blog.jetbrains.com/blog/2020/08/06/jetbrains-security-bulletin-q2-2020/
- https://www.oracle.com/security-alerts/cpujan2022.html