CVE-2021-31805
highpriority · attend · 79EPSS 0.854 · 100 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-22
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (8)
Public proof-of-concept and weaponised exploit code.
- Wrin9/CVE-2021-31805S2-062 (CVE-2021-31805) / S2-061 / S2-059 RCEPoC · poc_in_github
- aeyesec/CVE-2021-31805 PoC for CVE-2021-31805 (Apache Struts2)PoC · poc_in_github
- jax7sec/S2-062Apache Struts2 S2-062远程代码执行漏洞(CVE-2021-31805) 支持批量扫描漏洞及漏洞利用PoC · poc_in_github
affected products (6)
Products and version ranges known to be affected.
advisories (5)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0735Oracle MySQL: Mehrere SchwachstellenDeutsch2022-07-19csaf · cert_bundDE
Ein Angreifer aus dem angrenzenden Netzwerk oder ein entfernter, anonymer, authentisierter oder lokaler Angreifer kann mehrere Schwachstellen in Oracle MySQL ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- WID-SEC-W-2022-0815Apache Struts: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des DienstesDeutsch2022-04-12csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Apache Struts ausnutzen, um beliebigen Programmcode mit den Rechten des Dienstes auszuführen.
- WID-SEC-W-2023-0130Oracle Hyperion: Mehrere SchwachstellenDeutsch2023-01-17csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Oracle Hyperion ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- WID-SEC-W-2026-2893Oracle Hyperion: Mehrere SchwachstellenDeutsch2026-08-18csaf · cert_bundDE
Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Oracle Hyperion ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- GHSA-v8j6-6c2r-r27cExpression Language Injection in Apache Struts2022-04-13ghsa · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2022/04/12/6cnnvd
- https://access.redhat.com/security/cve/cve-2021-31805cnnvd
- https://cwiki.apache.org/confluence/display/WW/S2-062cnnvd
- https://cxsecurity.com/cveshow/CVE-2021-31805/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-31805cnnvd
- https://security.netapp.com/advisory/ntap-20220420-0001/cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022061004cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022072055cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan