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.
Fixes

Solution

No solution given by the vendor.


Workaround

Avoid using forced OGNL evaluation on untrusted user input, and/or upgrade to Struts 2.5.30 which checks if expression evaluation won’t lead to the double evaluation. Please read our Security Bulletin S2-062 for more details.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2024-08-03T23:10:30.193Z

Reserved: 2021-04-26T00:00:00

Link: CVE-2021-31805

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-04-12T16:15:08.133

Modified: 2024-11-21T06:06:15.697

Link: CVE-2021-31805

cve-icon Redhat

Severity : Important

Publid Date: 2022-04-12T00:00:00Z

Links: CVE-2021-31805 - Bugzilla

cve-icon OpenCVE Enrichment

No data.