CVE-2023-23925 Switcher Client contains Regular Expression Denial of Service (ReDoS)
HighCVSS 7.5
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| npm switcher-client(npm) | < 3.1.4 | 3.1.4 |
| switcherapi switcher-client-master | = < 3.1.4 | No fix listed |
| switcherapi switcher client | < 3.1.4 | 3.1.4 |
References
- https://github.com/switcherapi/switcher-client-master/security/advisories/GHSA-wqxw-8h5g-hq56 vendor-advisory
- nvd.nist.gov third-party-advisory
- https://github.com/switcherapi/switcher-client-master/releases/tag/v3.1.4 release-notes
- github.com patch
- github.com