CVE-2017-20189 Clojure classes can be used to craft a serialized object that runs arbitrary code on deserialization

Critical 9.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2017-20189?

CVE-2017-20189 is a critical vulnerability in n/a, published on 22 Jan 2024.

Official description

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.

Weakness: CWE-502

Which versions are affected by CVE-2017-20189?

2 open source packages ship an affected version, including org.clojure:clojure. It affects 1 product.

PackageAffectedFixed in
org.clojure:clojure MavenAll versions1.9.0
org.clojure:clojure MavenAll versions1.9.0

Products include Clojure Clojure.

How do I fix CVE-2017-20189?

Upgrade org.clojure:clojure to 1.9.0 or later.

Is CVE-2017-20189 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-20189 exists.

Sources

Also known as DEBIAN-CVE-2017-20189, GHSA-jgxc-8mwq-9xqw, ROOT-APP-MAVEN-CVE-2017-20189, UBUNTU-CVE-2017-20189.

Is CVE-2017-20189 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free