CVE-2023-23925
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.
How to fix
- switcherapi switcher_client3.1.4 or later
- switcher-client3.1.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| switcherapi switcher_client | v < 3.1.4 | 3.1.4 |
| switcher-clientnpm | v < 3.1.4 | 3.1.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.