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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31776IBM DataPower Gateway 10.0.2.0 through 10.0.4.0, 10.0.1.0 th…8.8
- CVE-2022-31777A stored cross-site scripting (XSS) vulnerability in Apache …5.4
- CVE-2022-31778Improper Input Validation vulnerability in handling the Tran…7.5
- CVE-2022-31779Improper Input Validation vulnerability in HTTP/2 header par…7.5
- CVE-2022-3178Buffer Over-read in GitHub repository gpac/gpac prior to 2.1…7.8
- CVE-2022-31780Improper Input Validation vulnerability in HTTP/2 frame hand…7.5
- CVE-2022-31782ftbench.c in FreeType Demo Programs through 2.12.1 has a hea…7.8
- CVE-2022-31783Liblouis 3.21.0 has an out-of-bounds write in compileRule in…5.5
- CVE-2022-31784A vulnerability in the management interface of MiVoice Busin…9.8
- CVE-2022-31786IdeaLMS 2022 allows reflected Cross Site Scripting (XSS) via…6.1
- CVE-2022-31787IdeaTMS 2022 is vulnerable to SQL Injection via the PATH_INF…9.8
- CVE-2022-31788IdeaLMS 2022 allows SQL injection via the IdeaLMS/ChatRoom/C…9.8
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
