SecurityContext

CVE-2022-31781: Apache Tapestry - Denial of Service

  • Cve: CVE-2022-31781
  • Name: Apache Tapestry - Denial of Service
  • 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.
  • Impact: Attackers can cause denial of service by triggering exponential processing time, potentially disrupting service availability.
  • Remediation: Upgrade to version 5.8.2 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01973
  • Epss percentile: 0.80878
  • Assignee: [email protected]
  • Published at: 2022-07-13T08:15:07Z
  • Age in days: 1595
  • Modified at: 2026-06-17T04:46:17Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31781
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1333Inefficient Regular Expression Complexity

References

UrlSourceTags
https://www.openwall.com/lists/oss-security/2022/07/12/3nvdMailing List, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:tapestry< 5.8.2nonvd/v1/products/apache/tapestry

Projects

RepositoryLink kindsIndexedUrl
apache/tapestry-5commityes/v1/repositories/apache/tapestry-5

Index

  • Repositories: 1
  • Checked, none or zero: repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts