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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26650.json",
"cwe_ids": [
"CWE-1333"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "2.4.3"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "2.4.0"
},
{
"last_affected": "2.4.0"
},
{
"introduced": "2.4.1"
},
{
"last_affected": "2.4.1"
},
{
"introduced": "2.4.2"
},
{
"last_affected": "2.4.2"
}
],
"source": "CPE_STRING",
"cpe": [
"cpe:2.3:a:apache:shenyu:2.4.0:*:*:*:*:*:*:*",
"cpe:2.3:a:apache:shenyu:2.4.1:*:*:*:*:*:*:*",
"cpe:2.3:a:apache:shenyu:2.4.2:*:*:*:*:*:*:*"
]
}