Denial of Service Vulnerability in Clojure Package

clojure Updated 02 Oct 2025

Summary

29/02/2024
N/A
No i
Unrated
Not published

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 >= 0436abdb51ae6d53517b74bf84a33162397744b0, < 218054f1f2ddfc69ef4f9d17f916de35e4a4effe. 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 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

Clojure is a dynamic, functional programming language that runs on the Java Virtual Machine (JVM). It is designed for concurrency and provides a rich set of features for building robust applications. The language is widely used for web development, data analysis, and other applications requiring high performance and scalability. However, certain versions of Clojure (1.20 to 1.12.0-alpha5) are vulnerable to a denial of service (DoS) attack, which can disrupt the normal functioning of applications built with this package.

Vulnerability Detail

The vulnerability identified as CVE-2024-22871 arises from an issue in the clojure.core$partial$fn__5920 function. This flaw allows an attacker to exploit the function, potentially leading to a denial of service condition. The attack can cause the application to become unresponsive, impacting users and services relying on the affected Clojure version. The vulnerability affects multiple Debian ecosystems, including versions 11, 12, and 13, with specific ranges of affected versions.

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

If upgrading is not immediately possible, consider implementing rate limiting or input validation to mitigate the risk of a denial of service attack. Additionally, monitor your application for unusual traffic patterns that may indicate an ongoing attack.

Conclusion

The CVE-2024-22871 vulnerability poses a significant risk to applications using affected versions of Clojure, potentially leading to denial of service conditions. It is crucial for developers to upgrade to secure versions and consider workarounds if immediate upgrades are not feasible. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.

See every vulnerability recorded for clojure →

Share this vulnerability

FAQ

CVE-2024-22871 is a vulnerability in Clojure that allows for denial of service attacks 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 Vulert, which monitors open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Implement rate limiting and input validation as temporary measures to reduce the risk of a denial of service attack.

Detailed information can be found in the official CVE database and through security advisories related to Clojure.

Related vulnerabilities

Recent vulnerabilities recorded for clojure.

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