Skip to main content
CVE Radar
public exploit

CVE-2021-31805

CVE-2021-31805 — Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE.

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.

Published Updated Sources: cvelistV5, apache

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Public exploit

exploit code published, no use observed

EPSS

85%

chance of exploitation in 30 days

Affects

Apache

apache struts

CVSS base

Unscored

no source published a base score

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (1)

Products (1)

apache struts

Weakness & attack patterns

  • CWE-917

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

Indexed by

poc in github

References

4 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Apacheevery CVE for this vendor
  • CWE-917other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.