CVE-2017-20189 json
Clojure classes can be used to craft a serialized object that runs arbitrary code on deserialization
published 2024-01-22 2 y ago modified 2026-06-17 4 mo ago also GHSA-jgxc-8mwq-9xqw , EUVD-2024-0379
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.clojure:clojure 1.9.0
- clojure clojure 1.9.0
- clojure Debian 14, Debian 13, Debian 12 1.9.0-1
debian advisories DEBIAN-CVE-2017-20189
- github.com/clojure/clojure@271674c commit
- github.com/frohoff/ysoserial#68 pull request
- clojure.atlassian.net/browse/CLJ-2204 advisory
- security.snyk.io/vuln/SNYK-JAVA-ORGCLOJURE-5740378 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-20189 updated
clojure: executes arbitrary code upon deserialization
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- clojure.atlassian.net https://clojure.atlassian.net/browse/CLJ-2204 referenced PoC, tagged "exploit" by a source, unverified
- hackmd.io https://hackmd.io/%40fe1w0/HyefvRQKp referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.clojure:clojure | <1.9.0 |
1.9.0 |
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/frohoff/ysoserial/pull/68/files
web, patch
-
github.com
/clojure/clojure/commit/271674c9b484d798484d134a5ac40a6df15d3ac3
web, patch
-
clojure.atlassian.net
/browse/CLJ-2204
web, exploit, patch, vendor-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGCLOJURE-5740378
web, patch, third-party-advisory
-
hackmd.io
/%40fe1w0/HyefvRQKp
web, exploit, third-party-advisory
- security.netapp.com /advisory/ntap-20241108-0002/
-
nvd.nist.gov
/vuln/detail/CVE-2017-20189
advisory
-
github.com
/clojure/clojure
package
-
groups.google.com
/d/msg/clojure/WaL3hHzsevI/7zHU-L7LBQAJ
web
-
security.netapp.com
/advisory/ntap-20241108-0002
web
Sources
- CVE List CVE-2017-20189
- GitHub Advisory GHSA-jgxc-8mwq-9xqw
- NVD CVE-2017-20189
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.