Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-31781

published

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

Published
13 Jul 2022, 07:25:10 UTC
Updated
03 Aug 2024, 07:26:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — Apache Tapestry5.8.1 to < 5.8.1 Affected Not stated apache

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.

en · apache · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Tapestry 5.8.1 to < 5.8.1 (affected · custom) apache · cna

Weaknesses

1
  • CWE-1333 CWE-1333 Inefficient Regular Expression Complexity (apache · cna)

References

1

Provider assertions

2

apache · cna

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

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
d6635be3dc2df8596ae612e98506e6f3e0f842bc47947cb566631076a084d5c9
Ingested
23 Sep 2026, 08:00:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected