GitHub Advisoryadvisory · Maven
GHSA-v8j6-6c2r-r27c Expression Language Injection in Apache Struts
CRITICAL
Official page ↗
- Aliases
- CVE-2021-31805
- Ecosystem
- Maven
- Packages
- org.apache.struts:struts2-core
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-917
- Reviewed
- 2022-04-22
Affected packages
• Maven org.apache.struts:struts2-core: >= 2.0.0, < 2.5.30 → fixed in 2.5.30
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.
Related
Alias · CVE (1)
- CVE-2021-31805 The fix issued for CVE-2020-17530 was incomplete. vulnerability
Weakness · CWE (1)
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness