Clojure: Deserialization of Untrusted Data Allows Remote Code Execution
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
A security advisory from the Clojure project, as published on GitHub, describes a remote code execution flaw in Clojure's deserialization path. Compiled Clojure functions implement java.util.Comparator, so a crafted serialized java.util.PriorityQueue can run attacker-supplied Clojure source during a single ObjectInputStream.readObject call, using only classes already in clojure.jar and the JDK.…