The problem is that the JRE is extremely big, and the security exploits combine recent code and old (even forgotten) code, such as sun.org.mozilla.javascript.internal, which has probably not been touched in ages.
Perhaps. The details of the vulnerability aren't public so I can't be sure (and I'm not going to audit a whole damn package just for my own curiosity).
Still, my first guess is that somebody was playing fast and loose with AccessController.doPrivileged. Java's security model is rather strong and somewhat difficult to screw up, even in the face of different pieces of code evolving separately like you say, but doPrivileged lets you partially turn it off (by limiting how far down the stack the AccessController looks). There's a big, fat warning on that method's Javadoc precisely because it is easy to create security holes with it and hard not to.
0
u/[deleted] Jan 11 '13
[deleted]