GHSA-cw56-j3fm-7w57

Suggest an improvement
Source
https://github.com/advisories/GHSA-cw56-j3fm-7w57
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cw56-j3fm-7w57/GHSA-cw56-j3fm-7w57.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cw56-j3fm-7w57
Aliases
Published
2022-05-18T00:00:47Z
Modified
2024-02-16T08:24:11.530974Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-05-17T08:15:00Z",
    "cwe_ids": [
        "CWE-1333",
        "CWE-862"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-25T19:36:33Z"
}
References

Affected packages

Maven / org.apache.shenyu:shenyu

Package

Name
org.apache.shenyu:shenyu
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shenyu/shenyu

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.4.0
Fixed
2.4.3

Affected versions

2.*

2.4.0
2.4.1
2.4.2

Maven / org.apache.shenyu:shenyu-bootstrap

Package

Name
org.apache.shenyu:shenyu-bootstrap
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shenyu/shenyu-bootstrap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.4.0
Fixed
2.4.3

Affected versions

2.*

2.4.0
2.4.1
2.4.2