CVE-2022-26650

Apache ShenYu (incubating) Regular expression denial of service

Published May 17, 2022 CVSS 3.1 · 7.5 High EPSS 2.7% KEV · Not listed
Description
In Apache ShenYui, ShenYu-Bootstrap, RegexPredicateJudge.java uses Pattern.matches(conditionData.getParamValue(), realData) to make judgments, where both parameters are controllable by the user. This can cause an attacker pass in malicious regular expressions and characters causing a resource exhaustion. This issue affects Apache ShenYu (incubating) 2.4.0, 2.4.1 and 2.4.2 and is fixed in 2.4.3.

Remediation

Vendor Workaround

Upgrade to Apache ShenYu (incubating) 2.4.3 or apply patch https://github.com/apache/incubator-shenyu/pull/2975.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-3643 In Apache ShenYui, ShenYu-Bootstrap, RegexPredicateJudge.java uses Pattern.matches(conditionData.getParamValue(), realData) to make judgments, where both parameters are controllable by the user. This can cause an attacker pass in malicious regular expressions and characters causing a resource exhaustion. This issue affects Apache ShenYu (incubating) 2.4.0, 2.4.1 and 2.4.2 and is fixed in 2.4.3.
Github GHSA Github GHSA GHSA-cw56-j3fm-7w57 Regular expression denial of service in Apache ShenYu
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 3, 2024, 5:11 AM
Reserved
Mar 7, 2022, 12:00 AM
Status
Modified
Published
May 17, 2022, 8:15 AM
Modified
Jun 17, 2026, 4:35 AM