Critical severityNVD Advisory· Published Apr 12, 2022· Updated Aug 3, 2024
Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE.
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
2Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-v8j6-6c2r-r27cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-31805ghsaADVISORY
- www.openwall.com/lists/oss-security/2022/04/12/6ghsamailing-listx_refsource_MLISTWEB
- cwiki.apache.org/confluence/display/WW/S2-062ghsax_refsource_MISCWEB
- security.netapp.com/advisory/ntap-20220420-0001ghsaWEB
- security.netapp.com/advisory/ntap-20220420-0001/mitrex_refsource_CONFIRM
- www.oracle.com/security-alerts/cpujul2022.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.