Critical severity9.8NVD Advisory· Published Apr 12, 2022· Updated Jun 17, 2026
CVE-2021-31805
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.struts:struts2-coreMaven | >= 2.0.0, < 2.5.30 | 2.5.30 |
Affected products
3Patches
Vulnerability mechanics
References
7- cwiki.apache.org/confluence/display/WW/S2-062nvdMitigationPatchVendor AdvisoryWEB
- www.openwall.com/lists/oss-security/2022/04/12/6nvdMailing ListMitigationThird Party AdvisoryWEB
- github.com/advisories/GHSA-v8j6-6c2r-r27cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-31805ghsaADVISORY
- security.netapp.com/advisory/ntap-20220420-0001/nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20220420-0001ghsaWEB
- www.oracle.com/security-alerts/cpujul2022.htmlnvdWEB
News mentions
0No linked articles in our index yet.