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
Published
2023-02-02T01:33:06Z
Modified
2026-09-10T03:49:52Z
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
{
    "cwe_ids":  [
        "CWE-1333",
        "CWE-400"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-02-02T01:33:06Z",
    "nvd_published_at":  "2023-02-03T20:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / switcher-client

Package

Name
switcher-client
View open source insights on deps.dev
Purl
pkg:npm/switcher-client

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-wqxw-8h5g-hq56/GHSA-wqxw-8h5g-hq56.json"