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.
Remediation
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
Related Vulnerabilities
CVE-2023-29203 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates
CVE-2017-15703 Vulnerability in maven package org.apache.nifi:nifi-file-authorizer
CVE-2018-16474 Vulnerability in npm package tianma-static
CVE-2020-2245 Vulnerability in maven package org.jenkins-ci.plugins:valgrind
CVE-2020-1954 Vulnerability in maven package org.apache.cxf:cxf-rt-management