Security mailing lists by PureSourceCode

CVE-2022-31781

HIGH 7.5CVSS 3.1

Apache Tapestry 5.8.1 vulnerable to ReDoS via Content Types causing catastrophic backtracking

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.

Published
13 Jul 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-1333CWE-400
Also known as
GHSA-227g-7cvv-6ff3
Sources
NVDJSONOSV GHSA-227g-7cvv-6ff3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache tapestry
cpe:2.3:a:apache:tapestry:*:*:*:*:*:*:*:*
< 5.8.2 5.8.2
OSV Maven org.apache.tapestry:tapestry-core < 5.8.2 5.8.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 13 Jul 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.