Apache Struts2 Spring Plugin U... Note

Apache Struts2 Spring Plugin Uses a Previously Closed Resource

Posted by Daniel Owens via Fulldisclosure on Nov 01Description The Apache Struts2 Spring Plugin opens a Spring ApplicationContex via a try-with-resources block and, outside of said block, then continues to use the closed resource, resulting in an uncaught IllegalStateException. This particular issue prevents proper functionality and indicates poor code quality and code review standards and processes, while not being, itself, otherwise excessively meaningful for a production environment...