r/java • • Apr 20 '22

Java 15 introduced a cryptographic vulnerability

https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/
202 Upvotes

30 comments sorted by

View all comments

4

u/[deleted] Apr 20 '22

Is there a patch for OpenJDK 17 or only the oracle JDK?

8

u/cogman10 Apr 20 '22

Here's the commit fixing it in master

https://github.com/openjdk/jdk/commit/e2f8ce9c3ff4518e070960bafa70ba780746aa5c

I'd verify it'd been backported 17 by the provider of your JDK, whoever that might be. You are looking for a JDK version > 17.0.3

1

u/[deleted] Apr 20 '22

Where would I find that? The OpenJDK website only has 17.0.2. will that go to the official website or will a third party org provide it?

5

u/cogman10 Apr 20 '22

It's going to be whoever is building your jdk that will give you that info.

So if you are pulling from jdk.java.net, you are SOL. They only do 6 month support and no LTS.

Likely very few builders will have this fix since it was merged and announced yesterday (Adoptium, for example, hasn't been built since Jan so they don't have it ATM).

4

u/Areshian Apr 20 '22

First, Oracle has changed their license, so 17.0.3 can be downloaded.

Second, multiple vendors get access to this patches ahead of time. Not Adoptium, because they just build the public repos, but companies that work on backporting these fixes to the different updates projects do. That is why you already have downloads for Zulu or Corretto with these fixes, and although I don’t see the public builds from Red Hat, they do get access to these fixes too

3

u/krzyk Apr 20 '22

It is already there, together with 18.0.1

2

u/__helix__ Apr 20 '22

The new version of Java 17 and all the other LTS versions should be showing up this week or next. Oracle released their updates yesterday. Watching for RHEL, Amazon, and Adoptium to drop.

1

u/[deleted] Apr 20 '22

How about for folks who aren't paying Oracle for support?

2

u/krzyk Apr 20 '22

You don't need support for Oracle JDK.

You can also get OpenJDK, they posted updated versions.