Skip to content
OpenAdvisories
High · 8.6 CVE-2023-23925 EUVD-2023-0812GHSA-wqxw-8h5g-hq56

Switcher Client contains Regular Expression Denial of Service (ReDoS)

Published Feb 3, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
switcherapi switcher-client-master < 3.1.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm switcher-client < 3.1.4 3.1.4 GHSA-wqxw-8h5g-hq56

References