Skip to content
Fencer Vulns
medium 5.3

CVE-2020-29582 json

Incorrect Default Permissions in JetBrains Kotlin

published 2021-02-03 5 y ago modified 2026-09-10 1 mo ago also EUVD-2022-3613 , GHSA-cqj8-47ch-rvvq

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

In JetBrains Kotlin before 1.4.21, a vulnerable Java API was used for temporary file and folder creation. An attacker was able to read data from such files and list directories due to insecure permissions.

Patch / fix

  • maven org.jetbrains.kotlin:kotlin-stdlib 1.4.21
  • jetbrains kotlin 1.4.21
  • org.jetbrains.kotlin kotlin-stdlib 1.4.21
  • kotlin Debian 14, Debian 13 1.3.31+ds1-3

debian advisories DEBIAN-CVE-2020-29582

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-29582 updated cvss 5.3

kotlin: vulnerable Java API was used for temporary file and folder creation which could result in information disclosure

  • Red Hat Integration Camel Quarkus 1 kotlin-scripting-jvm
    affected: no fix available
  • Red Hat Fuse 7.11
    fixed: vendor fix RHSA-2022:5532
  • Red Hat Integration
    fixed: vendor fix RHSA-2021:3205
  • Red Hat Integration Camel Quarkus 2
    fixed: vendor fix RHSA-2021:3207
  • Red Hat Integration Service Registry kotlin-scripting-jvm
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.60% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.jetbrains.kotlin:kotlin-stdlib
<1.4.21
1.4.21

Classification

Weakness
  • CWE-276 Incorrect Default Permissions

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: NVD had incorrect Kotlin fix information.