{ "schema_version": "1.4.0", "id": "GHSA-v8j6-6c2r-r27c", "modified": "2022-07-27T04:19:48Z", "published": "2022-04-13T00:00:30Z", "aliases": [ "CVE-2021-31805" ], "summary": "Expression Language Injection in Apache Struts", "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "Maven", "name": "org.apache.struts:struts2-core" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "2.0.0" }, { "fixed": "2.5.30" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31805" }, { "type": "WEB", "url": "https://cwiki.apache.org/confluence/display/WW/S2-062" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20220420-0001" }, { "type": "WEB", "url": "https://www.oracle.com/security-alerts/cpujul2022.html" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2022/04/12/6" } ], "database_specific": { "cwe_ids": [ "CWE-917" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2022-04-22T20:30:35Z", "nvd_published_at": "2022-04-12T16:15:00Z" } }