Skip to content
Heist/ feed
Back to feed
Medium

kotlin — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-29582

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.

Products
kotlin
Affected versions
1.3.31+ds1-1build5, 1.3.31+ds1-1ubuntu1, 1.3.31+ds1-2, 1.3.31+ds1-3, 1.3.31+ds1-3ubuntu1, 1.3.31+ds1-4, 1.3.31+~1.0.1+~0.11.12-2
Fixed versions
Not specified
CVEs
CVE-2020-29582
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:29 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-29582

core-osv · Original source

Published 3 Feb 2021, 16:15 UTC

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.

osv:UBUNTU-CVE-2020-29582

kotlin

Fixed versions: Not specified

kotlin

Fixed versions: Not specified

kotlin

Fixed versions: Not specified

kotlin

Fixed versions: Not specified

kotlin

Fixed versions: Not specified

Complete source record
{
  "id": "1081fddab2e30771a923d6c90e2059acb24dc819ba4e5aca6e314c6742ea7494",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-29582",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-29582",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2020-29582",
    "products": [
      {
        "name": {
          "value": "kotlin",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.31+~1.0.1+~0.11.12-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kotlin",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.31+ds1-1build5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.31+ds1-1ubuntu1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kotlin",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.31+ds1-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.3.31+ds1-3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kotlin",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.31+ds1-3ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.3.31+ds1-4",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kotlin",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.31+ds1-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.31+ds1-3ubuntu1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2020-29582",
      "aliases": [
        "UBUNTU-CVE-2020-29582"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kotlin",
            "purl": "pkg:deb/ubuntu/kotlin?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.3.31+~1.0.1+~0.11.12-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29582.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kotlin",
                "binary_version": "1.3.31+~1.0.1+~0.11.12-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kotlin",
            "purl": "pkg:deb/ubuntu/kotlin?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.3.31+ds1-1build5",
            "1.3.31+ds1-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29582.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kotlin",
                "binary_version": "1.3.31+ds1-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kotlin",
            "purl": "pkg:deb/ubuntu/kotlin?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.3.31+ds1-2",
            "1.3.31+ds1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29582.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kotlin",
                "binary_version": "1.3.31+ds1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kotlin",
            "purl": "pkg:deb/ubuntu/kotlin?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.3.31+ds1-3ubuntu1",
            "1.3.31+ds1-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29582.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kotlin",
                "binary_version": "1.3.31+ds1-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kotlin",
            "purl": "pkg:deb/ubuntu/kotlin?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.3.31+ds1-3",
            "1.3.31+ds1-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29582.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kotlin",
                "binary_version": "1.3.31+ds1-3ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:55.406307270Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-29582"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-29582",
        "https://youtrack.jetbrains.com/issue/KT-42181",
        "https://www.cve.org/CVERecord?id=CVE-2020-29582"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-29582",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356542,
  "published_at": "2021-02-03T16:15:00+00:00"
}