CVE-2021-31805

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

Configuration 1 (hide)

cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*

History

25 Jul 2022, 18:15

Type Values Removed Values Added
References
  • (N/A) https://www.oracle.com/security-alerts/cpujul2022.html -

27 Apr 2022, 19:28

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20220420-0001/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20220420-0001/ - Third Party Advisory

20 Apr 2022, 17:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20220420-0001/ -

20 Apr 2022, 13:44

Type Values Removed Values Added
CPE cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CWE CWE-917
References (MISC) https://cwiki.apache.org/confluence/display/WW/S2-062 - (MISC) https://cwiki.apache.org/confluence/display/WW/S2-062 - Mitigation, Patch, Vendor Advisory
References (MLIST) http://www.openwall.com/lists/oss-security/2022/04/12/6 - (MLIST) http://www.openwall.com/lists/oss-security/2022/04/12/6 - Mailing List, Mitigation, Third Party Advisory

12 Apr 2022, 18:15

Type Values Removed Values Added
References
  • (MLIST) http://www.openwall.com/lists/oss-security/2022/04/12/6 -

12 Apr 2022, 16:25

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-12 16:15

Updated : 2024-02-04 22:29


NVD link : CVE-2021-31805

Mitre link : CVE-2021-31805

CVE.ORG link : CVE-2021-31805


JSON object : View

Products Affected

apache

  • struts
CWE
CWE-917

Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')