Thread hang via infinite sequence hashing
Published Feb 29, 2024 · Updated Nov 4, 2025
Deserialization denial of service in Clojure 1.7.0 through 1.11.1 lets remote attackers hang the deserialization thread. Cycle, infinite Repeat, and Iterate inherit ASeq.hashCode(), which traverses the unbounded sequence when HashMap hashes a key during ObjectInputStream.readObject(). Programs are exposed only when they deserialize attacker-controlled Java objects; 1.12.0-alpha1 through 1.12.0-alpha8 is also affected, and the reading thread loops indefinitely.
Summary
What happened
Deserialization denial of service in Clojure 1.7.0 through 1.11.1 lets remote attackers hang the deserialization thread. Cycle, infinite Repeat, and Iterate inherit ASeq.hashCode(), which traverses the unbounded sequence when HashMap hashes a key during ObjectInputStream.readObject(). Programs are exposed only when they deserialize attacker-controlled Java objects; 1.12.0-alpha1 through 1.12.0-alpha8 is also affected, and the reading thread loops indefinitely.
The record
- CVE
- CVE-2024-22871
- Published
- Feb 29, 2024
- Updated
- Nov 4, 2025
- Vendor
- Clojure
- Product
- Clojure
- Classifications
- CWE-502, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 29, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.12.0-alpha5 <=1.20
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Clojure deserialization denial-of-service verification scriptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo