VDB
Sign up
HIGH8.8

GHSA-8m5q-crqq-6pmf

Unrestricted Upload of File with Dangerous Type in Apache Struts2

Quick fix

GHSA-8m5q-crqq-6pmf — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

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

Details

A local code execution issue exists in Apache Struts2 when processing malformed XSLT files, which could let a malicious user upload and execute arbitrary files. A patch exists as of version 2.5.22.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References