CVE-2021-31805 – org.apache.struts:struts2-core
Package
Manager: maven
Name: org.apache.struts:struts2-core
Vulnerable Version: >=2.0.0 <2.5.30
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS: 0.93956 pctl0.99876
Details
Expression Language Injection in Apache Struts 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.
Metadata
Created: 2022-04-13T00:00:30Z
Modified: 2022-07-27T04:19:48Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-v8j6-6c2r-r27c/GHSA-v8j6-6c2r-r27c.json
CWE IDs: ["CWE-917"]
Alternative ID: GHSA-v8j6-6c2r-r27c
Finding: F004
Auto approve: 1