GHSA-227g-7cvv-6ff3

    Dashboard / Vulnerabilities / GHSA-227g-7cvv-6ff3

    GHSA-227g-7cvv-6ff3

    Published: 14 Jul 2022Last Modified: 16 Feb 2024

    Summary: Apache Tapestry 5.8.1 vulnerable to ReDoS via Content Types causing catastrophic backtracking

    Details: 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 packages

    Package

    Name: org.apache.tapestry:tapestry-core

    Purl: pkg:maven/org.apache.tapestry/tapestry-core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -5.8.2

    Affected versions

    5.0.1
    5.0.10
    5.0.11
    5.0.12
    5.0.13
    5.0.14
    5.0.15
    5.0.16
    5.0.17
    5.0.18
    5.0.19
    5.0.2
    5.0.3
    5.0.4
    5.0.5
    5.0.6
    5.0.7
    5.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-227g-7cvv-6ff3 | CVE-DB