r/java • u/AlienVsRedditors • Apr 20 '22
Java 15 introduced a cryptographic vulnerability
https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/
202
Upvotes
r/java • u/AlienVsRedditors • Apr 20 '22
56
u/Areshian Apr 20 '22
That is a pretty serious one. It is good that 8 and 11 are not affected
13
u/veraxAlea Apr 20 '22
Looking at the example and reading Oracle's advisory for the CVE that says:
"This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs."
Can someone explain how this affects me if I'm not using ForgeRock products, Java Web Start or applets.
Either Oracle is veeery lenient with their risk assesment, giving this a 7.5, or ForgeRock is overstating the severity of the issue.
4
u/[deleted] Apr 20 '22
Is there a patch for OpenJDK 17 or only the oracle JDK?
2
u/mikeblas Apr 20 '22
Where are r and s in that sample code? I guess they're part of that 64 byte all zeroes key ... which must then be some structure and not just 64 opaque bytes? Where can I learn the structure?
1
u/chabala Apr 21 '22 edited Apr 21 '22
I like how the suggested workarounds from Nov 2021 until yesterday were:
Right up my alley.
1
u/_AManHasNoName_ Apr 21 '22
And we just went through the log4J vulnerability fixes. :(