Thanks to Jacopo, here is the most interesting thing we know about this issue https://mail-archives.apache.org/mod_mbox/incubator-groovy-users/201509.mbox/%3C2077FA8D-553F-41B6-B344-C986E049B503@gmail.com%3E
Since then, the Groovy team did not care much. I guess it's to us to get that done, not sure how yet...
But because I was wrong above (OFBiz is not secure since we have an older than 2.4.4 Groovy version in the classpath which is actually enough for an exploit) and we can't let this as is until we are able to upgrade Groovy to 2.4.4 I just committed a temporary workaround fix in
It should be used by anyone responsible for OFBiz security.
Note that we are safe from an exploit done using the commons collections, see
OFBIZ-6726. OFBiz does not use Spring OOTB, but if you use it you will be safe by patching with revisions above.