{"id":"GHSA-cw56-j3fm-7w57","summary":"Regular expression denial of service in Apache ShenYu","details":"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.","aliases":["CVE-2022-26650"],"modified":"2024-02-16T08:24:11.530974Z","published":"2022-05-18T00:00:47Z","database_specific":{"cwe_ids":["CWE-1333","CWE-862"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-05-25T19:36:33Z","nvd_published_at":"2022-05-17T08:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26650"},{"type":"PACKAGE","url":"https://github.com/apache/incubator-shenyu"},{"type":"WEB","url":"https://lists.apache.org/thread/8rp33m3nm4bwtx3qx76mqynth3t3d673"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/05/17/3"}],"affected":[{"package":{"name":"org.apache.shenyu:shenyu","ecosystem":"Maven","purl":"pkg:maven/org.apache.shenyu/shenyu"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3"}]}],"versions":["2.4.0","2.4.1","2.4.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cw56-j3fm-7w57/GHSA-cw56-j3fm-7w57.json"}},{"package":{"name":"org.apache.shenyu:shenyu-bootstrap","ecosystem":"Maven","purl":"pkg:maven/org.apache.shenyu/shenyu-bootstrap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3"}]}],"versions":["2.4.0","2.4.1","2.4.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cw56-j3fm-7w57/GHSA-cw56-j3fm-7w57.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}