CVE-2021-31805
Description
The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still 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.
CWE
- CWE-917 — CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Affected
- Apache Software Foundation / Apache Struts — v=2.0.0 to 2.5.29 [affected]
CVSS
- (none)
References
- https://cwiki.apache.org/confluence/display/WW/S2-062 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2022/04/12/6 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220420-0001/ x_refsource_CONFIRM
Source
cvelistV5-main/cves/2021/31xxx/CVE-2021-31805.json