Issue
- To address the Spring4Shell vulnerabilities, the patched version of spring-beans.jar should be in its manifest file after the hotfix installation, is spring-webmvc.jar included in this?
Environment
- Liferay DXP 7.2
Resolution
- Only the spring-beans.jar is patched by the Liferay patch for DXP 7.2, 7.1, and 7.0.
-
To address this vulnerability, Spring released new versions of the 5.3.x and 5.2.x libraries. As DXP 7.4 and 7.3 use the 5.2.x library, all of the jars were updated to the latest version to prevent the vulnerability and minimize any potential issues that could arise if various versions of Spring jars were used.
-
DXP 7.2 and earlier, on the other hand, uses Spring 4.3.x or Spring 3.0.x. These versions were patched in order to mitigate the vulnerability.
-
Here is the code change to mitigate this vulnerability which Spring wrote and committed to the Spring repository. Only one file in the spring-beans.jar is changed by this code update. As a result, the patch for versions 4.3.x and 3.0.x will only change one Spring jar: spring-bean.jar. Other Liferay files were modified in order to adapt to these changes.
Additional Information
- [LPS-150754] Update spring to 5.2.20
- Verify for a hotfix for the Spring4Shell vulnerability: open the {liferay_home}/tomcat/webapps/ROOT/WEB-INF/lib/spring-beans.jar, it should have the patched version in its manifest file