4 ms·
It's the same issue as long as you consider that any evaluation of unwanted code is the same issue and if you consider that what happens here with the Java cons
by martinced 14y ago
It's the same issue as long as you consider that any evaluation of unwanted code is the same issue and if you consider that what happens here with the Java constructors is really "eval'ing" code.
Here I'd say it's a bit different: it's kinda the whole of having read-eval set to true to be able to evaluate code. So when read-eval is set to false and yet rogue code happens to be called there's a serious issue. Basically the issue is that under the hood some Java constructors seems to be called and, if I understand the issue correctly, by knowing how Clojure works you can exploit Clojure / the JVM by crafting precisely what you want to pass to Java constructors (which shouldn't be called in the first place).
Here as I understand it it's not an "eval" exploit per se: it's Java constructors which are passed carefully crafted input.