CVE-2021-31805
CVE-2021-31805 — Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE.
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.
Published Updated Sources: cvelistV5, apache
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
85%
chance of exploitation in 30 days
CVSS base
Unscored
no source published a base score
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Weakness & attack patterns
- CWE-917
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
4 on the record
- cwiki.apache.org/confluence/display/WW/S2-062
x_refsource_MISC
- www.openwall.com/lists/oss-security/2022/04/12/6
mailing-list, x_refsource_MLIST
- www.oracle.com/security-alerts/cpujul2022.html
x_refsource_MISC
- security.netapp.com/advisory/ntap-20220420-0001/
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2017-9791 Apache Struts 1 Improper Input Validation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2017-5638 Apache Struts Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2018-11776 Apache Struts Remote Code Execution VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2017-9805 Apache Struts Deserialization of Untrusted Data VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2019-0230 Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code…CVSS 9.8
- CVE-2022-22947 VMware Spring Cloud Gateway Code Injection VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.