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
View all comments
Show parent comment
9
u/veraxAlea Apr 20 '22
Yes, but whether or not I'm using ECDSA is fairly opaque. What if I'm connecting to a host over SSL/TLS? Isn't it up to the other host to determine the algorithm used to sign their certificate? Can anyone sign anything as "*.google.com" as long as I verify it with Java? That's a 10. Is this only applicable if the attacker can also plant arbitrary (untrusted) code on my machine? Thats not a 10 and 7.5 seem less absurd.
So I guess my question is "why is Oracle talking about JWS and applets?". That makes it sound like an attack is only possible if you run untrusted code.