CVE-2017-20189 — Vulnerability in org.clojure:clojure — CVE Details
Clojure classes can be used to craft a serialized object that runs arbitrary code on deserialization
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.32%). Schedule for your next planned update.
Does your project use an affected org.clojure:clojure version?
Paste your pom.xml to check it for CVE-2017-20189 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
In Clojure before 1.9.0, classes can be used to construct a serialized object that executes arbitrary code upon deserialization. This is relevant if a server deserializes untrusted objects.
Advisory Timeline
- First published January 22, 2024 (1039 days ago).
- Last revised November 4, 2025 — 652 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.9.0 for org.clojure:clojure -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.clojure:clojure Maven · Affected: 1.0.0, 1.1.0, 1.2.0, 1.2.1 (+111 more) | 1.9.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-20189ADVISORY
- https://github.com/frohoff/ysoserial/pull/68/filesWEB
- https://github.com/clojure/clojure/commit/271674c9b484d798484d134a5ac40a6df15d3ac3WEB
- https://clojure.atlassian.net/browse/CLJ-2204WEB
- https://github.com/clojure/clojurePACKAGE
- https://groups.google.com/d/msg/clojure/WaL3hHzsevI/7zHU-L7LBQAJWEB
- https://hackmd.io/%40fe1w0/HyefvRQKpWEB
- https://security.netapp.com/advisory/ntap-20241108-0002WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGCLOJURE-5740378WEB
Frequently Asked Questions
- What is CVE-2017-20189?
- Clojure classes can be used to craft a serialized object that runs arbitrary code on deserialization. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2017-20189?
- CVE-2017-20189 affects org.clojure:clojure. It has a 1.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-20189 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 70.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host