CVE-2021-31805
Summary
| CVE | CVE-2021-31805 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-04-12 16:15:00 UTC |
| Updated | 2022-07-25 18:15:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-917
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| S2-062 - Apache Struts 2 Wiki - Apache Software Foundation | MISC | cwiki.apache.org | |
| CVE-2021-31805 Apache Struts Vulnerability in NetApp Products | NetApp Product Security | CONFIRM | security.netapp.com | |
| oss-security - CVE-2021-31805: Apache Struts: Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE. | MLIST | www.openwall.com | |
| Oracle Critical Patch Update Advisory - July 2022 | N/A | www.oracle.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Apache Struts would like to thank Chris McCown for reporting this issue!