Apache Tapestry 5.8.1 vulnerable to ReDoS via Content Types causing catastrophic backtracking
Apache Tapestry up to version 5.8.1 is vulnerable to Regular Expression Denial of Service (ReDoS) in the way it handles Content Types. Specially crafted Content Types may cause catastrophic backtracking, taking exponential time to complete. Specifically, this is about the regular expression used on the parameter of the org.apache.tapestry5.http.ContentType class. Apache Tapestry 5.8.2 has a fix for this vulnerability. Notice the vulnerability cannot be triggered by web requests in Tapestry code alone. It would only happen if there's some non-Tapestry codepath passing some outside input to the ContentType class constructor.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tapestry:tapestry-core | < 5.8.2 | 5.8.2 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-1333, CWE-400- Platform
- Java / Kotlin (Maven)
- Package
org.apache.tapestry:tapestry-core- Disclosed
- 14.07.2022
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-227g-7cvv-6ff3 - CC BY 4.0
Vulnerability history: org.apache.tapestry:tapestry-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 9
- First → latest
- 09.2019 12.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 4
- High 4
- Medium 1
Disclosures per year
- 2019: 2
- 2020: 0
- 2021: 1
- 2022: 6
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Apache Tapestry 5.8.1 vulnerable to ReDoS via Content Types causing catastrophic backtracking this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.