Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-31805 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cwiki.apache.org/confluence/display/WW/S2-062 | CVE | MitigationPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220420-0001/ | CVE | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | CVE | |
| http://www.openwall.com/lists/oss-security/2022/04/12/6 | CVE | Mailing ListMitigationThird Party Advisory |
| https://cwiki.apache.org/confluence/display/WW/S2-062 | [email protected] | MitigationPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220420-0001/ | [email protected] | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | [email protected] | |
| http://www.openwall.com/lists/oss-security/2022/04/12/6 | [email protected] | Mailing ListMitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-917 | Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') | [email protected] |
| CWE-917 | Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache struts | >= 2.0.0, <= 2.5.29 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 25, 2022 | CVE Modified | [email protected] |
| Apr 27, 2022 | Modified Analysis | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Apr 20, 2022 | Initial Analysis | [email protected] |
| Apr 12, 2022 | CVE Modified | [email protected] |