9.8

CVE-2021-31805: apache software foundation apache struts Expression Language Injection

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-v8j6-6c2r-r27c
Published 12-04-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-31805 is a critical (CVSS 9.8) Expression Language Injection vulnerability in apache software foundation apache struts. EPSS estimates a 85.43% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
85.43%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 12-04-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

85.43%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 85.43% on 18-09-2026

18-09-202618-10-2026
EPSS score
85.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
Apache software foundation1 product
Org.apache.struts1 product
  • struts2-core≥ 2.0.0, < 2.5.30

3 vendors · 3 products

References

6 links