Skip to content

← Public intelligence

Maven package

org.clojure:clojure

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5MavenPublished

    Reading specially crafted serializable objects from an untrusted source may cause an infinite loop and denial of service

    CVE-2024-22871 · GHSA-vr64-r9qj-h27f

    Affected
    • Maven org.clojure:clojure >= 1.7.0, < 1.11.2; >= 1.12.0-alpha1, < 1.12.0-alpha9
    Fixed in
    1.12.0-alpha91.11.2· Vendor fix available
    Issue
    Any program on the JVM may read serialized objects via java.io.ObjectInputStream.readObject(). Reading serialized objects from an untrusted source is inherently unsafe (this affects any program running on any version of the JVM) and is a prerequisite for this vulnerability. Clojure classes that represent infinite seqs (Cycle, infinite Repeat, and Iterate) do not define hashCode() and use the parent ASeq.hashCode(), which walks the seq to compute the hash, yielding an infinite loop. Classes like java.util.HashMap call hashCode() on keys during deserialization of a serialized map. The exploit requires: 1. Crafting a serialized HashMap object with an infinite seq object as a key. 2. Sending that to a program that reads serialized objects via ObjectInputStream.readObject(). This will cause the program to enter an infinite loop on the reading thread and thus a denial of service (DoS). The affected Clojure classes (Cycle, Repeat, Iterate) exist in Clojure 1.7.0-1.11.1,…

    Recommended action: Upgrade to 1.12.0-alpha9 (pre-release) or 1.11.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Critical, CVSS 9.8MavenPublished

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

    CVE-2017-20189 · GHSA-jgxc-8mwq-9xqw

    Affected
    • Maven org.clojure:clojure < 1.9.0
    Fixed in
    1.9.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.9.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →