CVE-2022-26650: Regular expression denial of service in Apache ShenYu
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78485%
CWE
Published
5/18/2022
Updated
7/11/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
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 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability explicitly stems from the use of Pattern.matches()
with user-controlled parameters in RegexPredicateJudge.java
. The CWE-1333 (Inefficient Regex Complexity) directly maps to this pattern: user-supplied regexes with exponential time complexity can cause resource exhaustion. The description confirms both parameters are attacker-controlled, and the CVSS score/severity align with ReDoS impacts. No other functions are mentioned in the provided vulnerability reports.