What’s Vulnerable › Vulnerabilities
CVE-2023-23925: Switcher Client contains Regular Expression Denial of Service (ReDoS)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-03 · updated 2026-06-17
- Weakness: CWE-400
Description
Switcher Client is a JavaScript SDK to work with Switcher API which is cloud-based Feature Flag. 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). This issue has been patched in version 3.1.4. As a workaround, avoid using Strategy settings that use REGEX in conjunction with EXIST and NOT_EXIST operations.
Affected products
- switcherapi switcher-client-master: before 3.1.4 — fixed in 3.1.4
How to fix
Upgrade to a fixed version: switcherapi switcher-client-master 3.1.4. Check the vendor advisory for mitigations.
References
- https://github.com/switcherapi/switcher-client-master/releases/tag/v3.1.4
- https://github.com/switcherapi/switcher-client-master/security/advisories/GHSA-wqxw-8h5g-hq56
- https://github.com/switcherapi/switcher-client-master/releases/tag/v3.1.4
- https://github.com/switcherapi/switcher-client-master/security/advisories/GHSA-wqxw-8h5g-hq56
Get alerted when CVE-2023-23925 or the next vulnerability affects your stack