Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency org.clojure:clojure to v1.11.2 [SECURITY] - autoclosed #140

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 8, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.clojure:clojure (source) 1.11.1 -> 1.11.2 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-22871

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, 1.12.0-alpha1-1.12.0-alpha8.


Configuration

📅 Schedule: Branch creation - "" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

| datasource | package             | from   | to     |
| ---------- | ------------------- | ------ | ------ |
| maven      | org.clojure:clojure | 1.11.1 | 1.11.2 |
@renovate renovate bot requested a review from a team as a code owner March 8, 2024 20:58
@renovate renovate bot added automated This was created by a bot dependencies Updates to application dependency files labels Mar 8, 2024
@renovate renovate bot requested a review from nnichols March 8, 2024 20:58
@renovate renovate bot changed the title Update dependency org.clojure:clojure to v1.11.2 [SECURITY] Update dependency org.clojure:clojure to v1.11.2 [SECURITY] - autoclosed Mar 10, 2024
@renovate renovate bot closed this Mar 10, 2024
@renovate renovate bot deleted the dependencies/maven-org.clojure-clojure-vulnerability branch March 10, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated This was created by a bot dependencies Updates to application dependency files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants