HIGH7.5
GHSA-wqxw-8h5g-hq56
Switcher Client contains Regular Expression Denial of Service (ReDoS)
Quick fix
GHSA-wqxw-8h5g-hq56 — switcher-client: upgrade to the fixed version with the command below.
npm install switcher-client@3.1.4Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/switcherapi/switcher-client-master/security/advisories/GHSA-wqxw-8h5g-hq56[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-23925[ADVISORY]
- https://github.com/switcherapi/switcher-client-master/commit/374752563d6ce9353ee592b40c809c8136f24930[WEB]
- https://github.com/switcherapi/switcher-client-master[PACKAGE]
- https://github.com/switcherapi/switcher-client-master/releases/tag/v3.1.4[WEB]