GHSA-227g-7cvv-6ff3

Suggest an improvement
Source
https://github.com/advisories/GHSA-227g-7cvv-6ff3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-227g-7cvv-6ff3/GHSA-227g-7cvv-6ff3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-227g-7cvv-6ff3
Aliases
Published
2022-07-14T00:00:23Z
Modified
2024-02-16T08:05:39.337411Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-07-13T08:15:00Z",
    "cwe_ids": [
        "CWE-1333",
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-15T18:33:51Z"
}
References

Affected packages

Maven / org.apache.tapestry:tapestry-core

Package

Name
org.apache.tapestry:tapestry-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.tapestry/tapestry-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8.2

Affected versions

5.*

5.0.1
5.0.2
5.0.3
5.0.4
5.0.5
5.0.6
5.0.7
5.0.9
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.1.0.0
5.1.0.1
5.1.0.2
5.1.0.3
5.1.0.4
5.1.0.5
5.2.0
5.2.1
5.2.2
5.2.4
5.2.5
5.2.6
5.3
5.3.0
5.3.1
5.3.2
5.3.3-rc-1
5.3.3
5.3.4
5.3.5
5.3.6
5.3.7
5.3.8
5.4-beta-3
5.4-beta-6
5.4-beta-22
5.4-beta-26
5.4-beta-35
5.4-rc-1
5.4.0
5.4.1
5.4.2
5.4.3
5.4.4
5.4.5
5.5.0-beta-3
5.5.0
5.6.0
5.6.1
5.6.2
5.6.3
5.6.4
5.7.0
5.7.1
5.7.2
5.7.3
5.8.0
5.8.1