Remote Code Execution (RCE) Affecting org.apache.struts:struts2-core package, versions [2.0.0,2.5.30)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGAPACHESTRUTS-2635340
- published 12 Apr 2022
- disclosed 12 Apr 2022
- credit Chris McCown
Introduced: 12 Apr 2022
CVE-2021-31805 Open this link in a new tabHow to fix?
Upgrade org.apache.struts:struts2-core
to version 2.5.30 or higher.
Overview
org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.
Affected versions of this package are vulnerable to Remote Code Execution (RCE). The fix issued for CVE-2020-17530 was incomplete. Some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax
. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.