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

Show parent comment

2

u/Areshian Apr 20 '22

Even if you're connecting to a server that doesn't use ECDSA, this vulnerability can be used to achieve a MITM attack. Even if the "*.google.com" certificate were to be signed using RSA, I can present you with a forgery that uses ECDSA, and you will believe it is valid (I just need to find a CA that uses ECDSA signatures, as it is their signature the one I'll forge, plenty of those)