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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.shenyu:shenyu | 2.4.3 | GHSA-cw56-j3fm-7w57 |
| Maven | org.apache.shenyu:shenyu-bootstrap | 2.4.3 | GHSA-cw56-j3fm-7w57 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache ShenYu (incubating) | unspecified – before 2.4.3 |
Weakness: CWE-1333
References
- https://lists.apache.org/thread/8rp33m3nm4bwtx3qx76mqynth3t3d673 x_refsource_MISC
- [oss-security] 20220517 CVE-2022-26650: Apache ShenYu (incubating) Regular expression denial of service mailing-list, x_refsource_MLIST