Vulnerability · Published May 17, 2022 · Assigned by apache

CVE-2022-26650Apache ShenYu (incubating) Regular expression denial of service

High 7.5

In plain English

A high-severity regular-expression denial of service in Apache ShenYu (incubating) from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.7%top 14.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.shenyu:shenyu2.4.3GHSA-cw56-j3fm-7w57
Mavenorg.apache.shenyu:shenyu-bootstrap2.4.3GHSA-cw56-j3fm-7w57

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache ShenYu (incubating) unspecified – before 2.4.3

Weakness: CWE-1333

References