Bug 1930297 (CVE-2020-15824) - CVE-2020-15824 kotlin: kotlin-main-kts cached scripts in the system temp directory could result in priviledge escalation
Summary: CVE-2020-15824 kotlin: kotlin-main-kts cached scripts in the system temp dire...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-15824
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1930300
TreeView+ depends on / blocked
 
Reported: 2021-02-18 16:37 UTC by Michael Kaplan
Modified: 2021-03-18 01:51 UTC (History)
13 users (show)

Fixed In Version: kotlin 1.4.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in JetBrains kotlin. A script-cache privilege escalation vulnerability due to kotlin-main-kts cached scripts is possible in the system temporary directory, which is shared by all users by default. The highest threat from this vulnerabiility is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed: 2021-03-18 01:51:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-02-18 16:37:52 UTC
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.

Comment 1 Michael Kaplan 2021-02-18 16:37:56 UTC
External References:

https://blog.jetbrains.com/blog/2020/08/06/jetbrains-security-bulletin-q2-2020/

Comment 2 Jonathan Christison 2021-02-18 16:50:35 UTC
Marking Red Hat Fuse 7, Red Hat Integration Camel-K and Red Hat Integration Service Registry as not affected as no kotlin artifacts from the vulnerable range are distributed or used.

Comment 3 Todd Cullum 2021-03-17 21:32:49 UTC
Statement:

CodeReady Studio 12 is not affected by this flaw because it ships a previous version of kotlin-stdlib without the vulnerable code present.

Red Hat Fuse 7, Red Hat Integration Camel-K and Red Hat Integration Service Registry are not affected by this flaw because no kotlin artifacts from the vulnerable range are distributed or used.

Comment 4 Product Security DevOps Team 2021-03-18 01:51:42 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-15824


Note You need to log in before you can comment on or make changes to this bug.