CVE-2020-29582
Java vulnerability analysis and mitigation

Overview

In JetBrains Kotlin before version 1.4.21, a vulnerable Java API was used for temporary file and folder creation. This vulnerability (CVE-2020-29582) was discovered and disclosed in February 2021, affecting the Kotlin programming language. The vulnerability allowed attackers to read data from temporary files and list directories due to insecure permissions (NVD).

Technical details

The vulnerability stems from improper implementation of temporary file and folder creation APIs in Kotlin, which resulted in insecure default permissions. The issue has been assigned a CVSS v3.1 Base Score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, indicating that it is network exploitable with low attack complexity and requires no privileges or user interaction (NVD).

Impact

The vulnerability could lead to information disclosure as attackers were able to read data from temporary files and list directories due to the insecure permissions. This could potentially expose sensitive information stored in temporary files created by Kotlin applications (JetBrains Security Bulletin).

Mitigation and workarounds

The vulnerability was fixed in Kotlin version 1.4.21. Users and organizations running affected versions should upgrade to version 1.4.21 or later to address this security issue (JetBrains Security Bulletin).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management