GHSA-v8j6-6c2r-r27c
Expression Language Injection in Apache Struts
At a glance
- Published
- Updated
- CVE
- CVE-2021-31805
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.apache.struts:struts2-core | introduced 2.0.0, fixed 2.5.30 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-31805 ADVISORY
- https://cwiki.apache.org/confluence/display/WW/S2-062 WEB
- https://security.netapp.com/advisory/ntap-20220420-0001 WEB
- https://www.oracle.com/security-alerts/cpujul2022.html WEB
- http://www.openwall.com/lists/oss-security/2022/04/12/6 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |