Not long after log4shell yet another example of why JEP 411 (removal of SecurityManager) is a very questionable decision.
Running applications under SecurityManager would have prevented a lot of these vulnerabilities (or rather - their severity would be much lower).