Apache ShenYu (incubating) Regular expression denial of service
Apache Software Foundation Apache ShenYu (incubating)
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.shenyu:shenyu Maven |
|
|
| org.apache.shenyu:shenyu-bootstrap Maven |
|
|
Apache Software Foundation Apache ShenYu (incubating)
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.shenyu:shenyu Maven |
|
|
| org.apache.shenyu:shenyu-bootstrap Maven |
|
|
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.
From the CVE record · apache
RegexPredicateJudge in ShenYu-Bootstrap uses user-controllable values in regular-expression matching. An attacker who can supply a malicious regular expression and input characters can cause resource exhaustion. The input does not specify whether network access, authentication, or user interaction is required.
Teams running Apache ShenYu or the Maven packages org.apache.shenyu:shenyu and org.apache.shenyu:shenyu-bootstrap in versions 2.4.0 through 2.4.2 should check their deployments.