~ / search / GHSA-v8j6-6c2r-r27c

GHSA-v8j6-6c2r-r27c

Expression Language Injection in Apache Struts

Source: GitHub Advisory Database (reviewed) Critical CVE-2021-31805

Packages

EcosystemPackageAffectedFixed in
Maven org.apache.struts:struts2-core >= 2.0.0, < 2.5.30 2.5.30

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.