News for hackers. Stuff that matters.
Re:Spring Core on JDK9 is vulnerable to remote code execution by znep on Thursday March 31, 2022 @01:13AM (#30864019)
Ahh, your comment is the first one that made it clear why this is only in 9 and later, because it was actually "introduced" by the introduction of modules in Java 9. That added https://docs.oracle.com/javase/9/docs/api/java/lang/Class.ht... to java.lang.Class.

It looks like the Spring code, when written, did properly filter out existing unsafe methods in java.lang.Class deliberately. Obviously not in a defensive enough way to avoid this, but adding methods to java.lang.Class is a very rare event.

There are no comments on this comment yet.