CVE-2022-24329: Improper Locking in JetBrains Kotlin

Summary

26/02/2022
Yes i
Moderate
5.3

CVE-2022-24329: Improper Locking in JetBrains Kotlin. Affects org.jetbrains.kotlin:kotlin-stdlib versions < 1.6.0. Fixed in 1.6.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

JetBrains Kotlin is a programming language that runs on the Java Virtual Machine (JVM) and can be used for developing Android apps, server-side applications, and more. The 'kotlin-stdlib' package is a standard library for Kotlin that provides essential functions and classes. This vulnerability affects versions of 'kotlin-stdlib' prior to 1.6.0.

Vulnerability Detail

The vulnerability in JetBrains Kotlin before version 1.6.0 is related to improper locking in Multiplatform Gradle Projects. It was not possible to lock dependencies, which could lead to unexpected behavior or conflicts when multiple dependencies are used. This vulnerability has a CVSS score of 5.3, indicating a moderate severity level. An attacker could potentially exploit this vulnerability to manipulate the dependencies and compromise the integrity or availability of the Kotlin project.

How To Fix

Latest published version: 2.5.0-Beta2 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.6.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, developers can manually manage dependencies and ensure that conflicting versions are not used. It is also recommended to regularly update the Kotlin dependencies to the latest versions to mitigate potential vulnerabilities.

Conclusion

In conclusion, the vulnerability in JetBrains Kotlin before version 1.6.0 could allow improper locking in Multiplatform Gradle Projects, leading to unexpected behavior or conflicts. It is recommended to update the 'kotlin-stdlib' package to version 1.6.0 or later to fix this vulnerability. Developers should also regularly update Kotlin dependencies and manage dependencies to mitigate potential vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jetbrains.kotlin:kotlin-stdlib →

Share this vulnerability

FAQ

JetBrains Kotlin is a programming language that runs on the Java Virtual Machine (JVM) and can be used for developing Android apps, server-side applications, and more.

The 'kotlin-stdlib' package is a standard library for Kotlin that provides essential functions and classes.

This vulnerability could lead to unexpected behavior or conflicts when multiple dependencies are used in a Kotlin project, potentially compromising its integrity or availability.

To fix this vulnerability, update the 'kotlin-stdlib' package to version 1.6.0 or later by updating the dependency declaration in the project's build file.

While no specific workaround is mentioned, developers can manually manage dependencies and regularly update Kotlin dependencies to mitigate potential vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for org.jetbrains.kotlin:kotlin-stdlib.

How To Fix

Latest published version: 2.5.0-Beta2 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.6.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback