CVE-2022-31781
Last modified
CVE-2022-31781 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.73% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Tapestry | < 5.8.2 |
References
- https://www.openwall.com/lists/oss-security/2022/07/12/3Mailing List, Vendor Advisory
- https://www.openwall.com/lists/oss-security/2022/07/12/3Mailing List, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31781?
How severe is CVE-2022-31781?
How do I fix CVE-2022-31781?
Are you affected by CVE-2022-31781?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
