SCA: security update for org.apache.tapestry:tapestry-core (GHSA-227g-7cvv-6ff3)

high Tenable Self-Hosted Container Security Plugin ID 408596

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2022-31781)

See Also

https://github.com/advisories/GHSA-227g-7cvv-6ff3

Plugin Details

Severity: High

ID: 408596

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2022-31781

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/14/2022

Vulnerability Publication Date: 7/13/2022

Reference Information

CVE: CVE-2022-31781