CVE-2021-31805
Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 85.4%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 85.43% probability · 100th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-917
- Affected
- apache/struts
- Source
- security@apache.org
EPSS 85.4% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://www.openwall.com/lists/oss-security/2022/04/12/6Mailing List, Mitigation, Third Party Advisory
- https://cwiki.apache.org/confluence/display/WW/S2-062Mitigation, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220420-0001/Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://www.openwall.com/lists/oss-security/2022/04/12/6Mailing List, Mitigation, Third Party Advisory
- https://cwiki.apache.org/confluence/display/WW/S2-062Mitigation, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220420-0001/Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.