Lucene search

K
githubGitHub Advisory DatabaseGHSA-CW56-J3FM-7W57
HistoryMay 18, 2022 - 12:00 a.m.

Regular expression denial of service in Apache ShenYu

2022-05-1800:00:47
CWE-862
CWE-1333
GitHub Advisory Database
github.com
19
apache shenyu
regexpredicatejudge
pattern.matches

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

47.4%

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.

Affected configurations

Vulners
Node
org.apache.shenyushenyu-bootstrapRange2.4.02.4.3
OR
org.apache.shenyushenyuRange2.4.02.4.3
VendorProductVersionCPE
org.apache.shenyushenyu-bootstrap*cpe:2.3:a:org.apache.shenyu:shenyu-bootstrap:*:*:*:*:*:*:*:*
org.apache.shenyushenyu*cpe:2.3:a:org.apache.shenyu:shenyu:*:*:*:*:*:*:*:*

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

47.4%

Related for GHSA-CW56-J3FM-7W57