CVE-2022-26650Apache Shenyu
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Shenyu We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- May 17, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Shenyu.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.shenyu:shenyu |
≥ 2.4.0 < 2.4.3 |
2.4.3 |
— |
| Maven | org.apache.shenyu:shenyu-bootstrap |
≥ 2.4.0 < 2.4.3 |
2.4.3 |
— |
Per OSV / GitHub Advisories (GHSA-cw56-j3fm-7w57). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | shenyu | 2.4.0 |
| apache | shenyu | 2.4.1 |
| apache | shenyu | 2.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- lists.apache.org Mailing List Vendor Advisory