Denial of Service Vulnerability in Clojure Package: CVE-2024-22871

clojure Updated 02 Oct 2025

Summary

29/02/2024
N/A
No i
High
7.5

UBUNTU-CVE-2024-22871: An issue in Clojure versions 1.20 to 1.12.0-alpha5 allows an attacker to cause a denial of service (DoS) via the clojure.core$partial$fn__5920 function. Affects clojure versions 1.8.0-3 – 1.9.0~alpha15-2. No fix is published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Clojure is a dynamic programming language that runs on the Java Virtual Machine (JVM). It is designed for functional programming and emphasizes immutability and concurrency. Clojure is widely used for building robust applications due to its simplicity and powerful features. However, versions 1.20 to 1.12.0-alpha5 of Clojure contain a vulnerability that allows attackers to exploit the clojure.core$partial$fn__5920 function, leading to potential denial of service (DoS) attacks.

Vulnerability Detail

The vulnerability identified as CVE-2024-22871 affects Clojure versions 1.20 to 1.12.0-alpha5. It allows an attacker to cause a denial of service by exploiting the clojure.core$partial$fn__5920 function. This can lead to application crashes or unresponsiveness, severely impacting the availability of services relying on affected versions of Clojure. The vulnerability is classified with a CVSS score of 7.5, indicating a high severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the clojure.core$partial$fn__5920 function in their applications until they can upgrade to a patched version. This may involve refactoring code to eliminate dependencies on this function.

Conclusion

CVE-2024-22871 is a significant vulnerability in Clojure that can lead to denial of service attacks. It is crucial for users of affected versions to update to a patched version to ensure the security and availability of their applications. Utilizing tools like Vulert can further enhance vulnerability management.

See every vulnerability recorded for clojure →

Share this vulnerability

FAQ

CVE-2024-22871 is a vulnerability in Clojure that allows attackers to cause a denial of service through the clojure.core$partial$fn__5920 function.

Clojure versions 1.20 to 1.12.0-alpha5 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If you cannot update immediately, consider refactoring your code to avoid using the clojure.core$partial$fn__5920 function as a temporary workaround.

Vulert monitors and alerts for open-source vulnerabilities in software using a manifest file like package-lock.json. It provides real-time alerts for vulnerabilities, helping developers maintain secure applications.

Related vulnerabilities

Recent vulnerabilities recorded for clojure.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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