PT-2022-17983 · Apache · Apache Shenyu

Zhang Yonglun

·

Published

2022-05-17

·

Updated

2023-07-12

·

CVE-2022-26650

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Apache ShenYu (incubating) versions 2.4.0 through 2.4.2
Description The issue arises from the use of Pattern.matches() in RegexPredicateJudge.java, where both parameters are controllable by the user. This allows an attacker to pass in malicious regular expressions and characters, causing resource exhaustion.
Recommendations For versions 2.4.0, 2.4.1, and 2.4.2, update to version 2.4.3 to resolve the issue. As a temporary workaround, consider restricting user input for the conditionData.getParamValue() and realData parameters to prevent malicious regular expressions from being executed.

Fix

Missing Authorization

DoS

Weakness Enumeration

Related Identifiers

CVE-2022-26650
GHSA-CW56-J3FM-7W57

Affected Products

Apache Shenyu