CVE-2021-31805

Source
https://cve.org/CVERecord?id=CVE-2021-31805
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31805.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-31805
Aliases
Published
2022-04-12T16:15:08.133Z
Modified
2026-07-09T01:30:50.869024Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/apache/struts

Affected ranges

Type
GIT
Repo
https://github.com/apache/struts
Events
Database specific
{
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "2.0.0"
        },
        {
            "last_affected": "2.5.29"
        }
    ],
    "cpe": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31805.json"