VDB
Sign up
CRITICAL9.8

GHSA-4wrr-9h5r-m92w

Apache Struts Remote Java Code Execution

Quick fix

GHSA-4wrr-9h5r-m92w — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.2.3.1</version> for org.apache.struts:struts2-core

Details

The `ExceptionDelegator` component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-core
Introduced in: 0Fixed in: 2.2.3.1
Fix# pom.xml: bump <version>2.2.3.1</version> for org.apache.struts:struts2-core
Maven/org.apache.struts.xwork:xwork-core
Introduced in: 0Fixed in: 2.2.3.1
Fix# pom.xml: bump <version>2.2.3.1</version> for org.apache.struts.xwork:xwork-core

References