CVE-2022-31781

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31781
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31781.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31781
Aliases
Published
2022-07-13T08:15:07Z
Modified
2024-09-03T04:16:12.430330Z
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
[none]
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.

References

Affected packages

Git / github.com/apache/tapestry-5

Affected ranges

Type
GIT
Repo
https://github.com/apache/tapestry-5
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

5.*

5.4-alpha-1
5.4-alpha-10
5.4-alpha-11
5.4-alpha-12
5.4-alpha-13
5.4-alpha-14
5.4-alpha-15
5.4-alpha-16
5.4-alpha-17
5.4-alpha-18
5.4-alpha-19
5.4-alpha-2
5.4-alpha-20
5.4-alpha-21
5.4-alpha-23
5.4-alpha-24
5.4-alpha-25
5.4-alpha-26
5.4-alpha-27
5.4-alpha-28
5.4-alpha-29
5.4-alpha-3
5.4-alpha-7
5.4-alpha-8
5.4-alpha-9
5.4-beta-1
5.4-beta-10
5.4-beta-11
5.4-beta-12
5.4-beta-13
5.4-beta-14
5.4-beta-15
5.4-beta-16
5.4-beta-17
5.4-beta-18
5.4-beta-19
5.4-beta-2
5.4-beta-20
5.4-beta-22
5.4-beta-23
5.4-beta-24
5.4-beta-25
5.4-beta-26
5.4-beta-27
5.4-beta-28
5.4-beta-29
5.4-beta-3
5.4-beta-30
5.4-beta-31
5.4-beta-32
5.4-beta-33
5.4-beta-34
5.4-beta-35
5.4-beta-36
5.4-beta-37
5.4-beta-38
5.4-beta-4
5.4-beta-5
5.4-beta-6
5.4-beta-8
5.4-beta-9
5.4-rc-1
5.4.0
5.4.1
5.4.beta-24
5.5.0
5.5.0-alpha-1
5.5.0-alpha-10
5.5.0-alpha-2
5.5.0-alpha-3
5.5.0-alpha-4
5.5.0-alpha-5
5.5.0-alpha-6
5.5.0-alpha-7
5.5.0-alpha-8
5.5.0-alpha-9
5.5.0-beta-1
5.5.0-beta-2
5.6.0
5.7.0
5.7.1
5.7.2
5.7.3
5.8.0
5.8.1

v5.*

v5.5.0-beta-3