CVE-2022-31781 – org.apache.tapestry:tapestry-core
Package
Manager: maven
Name: org.apache.tapestry:tapestry-core
Vulnerable Version: >=0 <5.8.2
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.01174 pctl0.77916
Details
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.
Metadata
Created: 2022-07-14T00:00:23Z
Modified: 2022-07-22T16:31:43Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-227g-7cvv-6ff3/GHSA-227g-7cvv-6ff3.json
CWE IDs: ["CWE-1333", "CWE-400"]
Alternative ID: GHSA-227g-7cvv-6ff3
Finding: F211
Auto approve: 1