GHSA-wqxw-8h5g-hq56

Suggest an improvement
Source
https://github.com/advisories/GHSA-wqxw-8h5g-hq56
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-wqxw-8h5g-hq56/GHSA-wqxw-8h5g-hq56.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wqxw-8h5g-hq56
Aliases
Related
Published
2023-02-02T01:33:06Z
Modified
2023-11-08T04:11:42.717144Z
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
Switcher Client contains Regular Expression Denial of Service (ReDoS)
Details

Impact

Unsanitized input flows into Strategy match operation (EXIST), where it is used to build a regular expression. This may result in a Regular expression Denial of Service attack (reDOS).

Patches

Patched in 3.1.4

Workarounds

Avoid using Strategy settings that use REGEX in conjunction with EXIST and NOT_EXIST operations.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1333",
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed_at": "2023-02-02T01:33:06Z",
    "nvd_published_at": "2023-02-03T20:15:00Z"
}
References

Affected packages

npm / switcher-client

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.4