CVE-2023-23925 HIGH

CVE-2023-23925: Switcher Client contains Regular Expression Denial of Service (ReDoS)

Vendor Switcherapi
Product switcher-client-master
Weakness CWE-1333
Published February 3, 2023
Last update March 10, 2025

CVSS base score

8.6/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 3, 2023 CVE published
March 10, 2025 Record updated