Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31781— Regular Expression Denial of Service (ReDoS) in ContentType.java. (GHSL-2022-022)

Quick assessment

Affected
Apache Software Foundation Apache Tapestry
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Apache Tapestry是美国阿帕奇(Apache)基金会的一款使用Java语言编写的Web应用程序框架。 Apache Tapestry 5.8.1之前版本存在安全漏洞,该漏洞源于在处理内容类型的方式上容易受到正则表达式拒绝服务(ReDoS)攻击。特制的内容类型可能导致灾难性的回溯,这需要指数级的时间来完成。具体来说,这是关于org.apache.tapestry5.http.ContentType类的参数上使用的正则表达式。Apache Tapestry 5.8.2对这个漏洞进行了修复。注意,该

AI Predicted 4.3 Difficulty: Hard EPSS 1.97% · P80

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31781

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Regular Expression Denial of Service (ReDoS) in ContentType.java. (GHSL-2022-022)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5
Vulnerability Title
Apache Tapestry 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Apache Tapestry是美国阿帕奇(Apache)基金会的一款使用Java语言编写的Web应用程序框架。 Apache Tapestry 5.8.1之前版本存在安全漏洞,该漏洞源于在处理内容类型的方式上容易受到正则表达式拒绝服务(ReDoS)攻击。特制的内容类型可能导致灾难性的回溯,这需要指数级的时间来完成。具体来说,这是关于org.apache.tapestry5.http.ContentType类的参数上使用的正则表达式。Apache Tapestry 5.8.2对这个漏洞进行了修复。注意,该
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Apache Software Foundation Apache Tapestry 5.8.1 ~ 5.8.1 -

II. Public POCs for CVE-2022-31781

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31781

请登录查看更多情报信息。

Mailing List Discussions for CVE-2022-31781 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-31781

No comments yet


Leave a comment