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).

Exploitability

The vulnerability was rated with low attack complexity and required no special privileges or user interaction to exploit. It could be exploited over a network without requiring authentication, making it relatively straightforward to take advantage of in affected systems (NVD).

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

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

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