CVE-2022-26650 Apache ShenYu (incubating) Regular expression denial of service
HighCVSS 7.5
EPSS 2.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Apache ShenYu (incubating) | < 2.4.3 | 2.4.3 | Fixed |
| org.apache.shenyu/shenyu(Maven) | = 2.4.0; = 2.4.1; = 2.4.2; >= 2.4.0, < 2.4.3 | 2.4.3 | Fixed |
| org.apache.shenyu/shenyu-bootstrap(Maven) | = 2.4.0; = 2.4.1; = 2.4.2; >= 2.4.0, < 2.4.3 | 2.4.3 | Fixed |
| apache shenyu | = 2.4.0; = 2.4.1; = 2.4.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.shenyu/shenyu(Maven) | >= 2.4.0, < 2.4.3 | 2.4.3 |
| org.apache.shenyu/shenyu-bootstrap(Maven) | >= 2.4.0, < 2.4.3 | 2.4.3 |
| org.apache.shenyu/shenyu(Maven) | = 2.4.0 | No fix listed |
| org.apache.shenyu/shenyu(Maven) | = 2.4.1 | No fix listed |
| org.apache.shenyu/shenyu(Maven) | = 2.4.2 | No fix listed |
| org.apache.shenyu/shenyu-bootstrap(Maven) | = 2.4.0 | No fix listed |
| org.apache.shenyu/shenyu-bootstrap(Maven) | = 2.4.1 | No fix listed |
| org.apache.shenyu/shenyu-bootstrap(Maven) | = 2.4.2 | No fix listed |
| Apache ShenYu (incubating) | < 2.4.3 | 2.4.3 |
| apache shenyu | = 2.4.0 | No fix listed |
| apache shenyu | = 2.4.1 | No fix listed |
| apache shenyu | = 2.4.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org mailing-list vendor-advisory
- [oss-security] 20220517 CVE-2022-26650: Apache ShenYu (incubating) Regular expression denial of service mailing-list patch third-party-advisory
- github.com
- github.com product