org.apache.tapestry:tapestry-core@5.5.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.apache.tapestry:tapestry-core package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Information Exposure

org.apache.tapestry:tapestry-core is a Tapestry Core package for Apache Tapestry.

Affected versions of this package are vulnerable to Information Exposure via the context asset handling. It allows an attacker to download files inside WEB-INF if using a specially-constructed URL. This is caused because the fix for CVE-2020-13953 fails to account for the backslash character in the filtering regex, and an attacker is therefore able to list and download web app files from the WEB-INF and META-INF directory using a crafted payload.

How to fix Information Exposure?

Upgrade org.apache.tapestry:tapestry-core to version 5.6.4, 5.7.2 or higher.

[5.4.0,5.6.4) [5.7.0,5.7.2)
  • C
Arbitrary Code Execution

org.apache.tapestry:tapestry-core is a Tapestry Core package for Apache Tapestry.

Affected versions of this package are vulnerable to Arbitrary Code Execution. A critical unauthenticated remote code execution vulnerability was found in all recent versions of Apache Tapestry.

A bypass of the fix for CVE-2019-0195 exists. where the blacklist solution can simply be bypassed byappending a / at the end of the URL:http://localhost:8080/assets/something/services/AppModule.class/

The slash is stripped after the blacklist check and the fileAppModule.class is loaded into the response.This class usually contains the HMAC secret key which is used to signserialized Java objects.With the knowledge of that key an attacker can sign a Java gadget chain that leads to RCE.

How to fix Arbitrary Code Execution?

Upgrade org.apache.tapestry:tapestry-core to version 5.6.2, 5.7.1 or higher.

[5.4.0,5.6.2) [5.7.0,5.7.1)
  • M
Arbitrary File Read

org.apache.tapestry:tapestry-core is a Tapestry Core package for Apache Tapestry.

Affected versions of this package are vulnerable to Arbitrary File Read. By crafting specific URLs, an attacker can download files inside the WEB-INF folder of the WAR being run.

How to fix Arbitrary File Read?

Upgrade org.apache.tapestry:tapestry-core to version 5.6.0 or higher.

[5.4.0,5.6.0)