Switcher Client contains Regular Expression Denial of Service (ReDoS)
High severity
GitHub Reviewed
Published
Feb 2, 2023
in
switcherapi/switcher-client-js
•
Updated Apr 21, 2023
Description
Published to the GitHub Advisory Database
Feb 2, 2023
Reviewed
Feb 2, 2023
Published by the National Vulnerability Database
Feb 3, 2023
Last updated
Apr 21, 2023
Impact
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).
Patches
Patched in 3.1.4
Workarounds
Avoid using Strategy settings that use REGEX in conjunction with EXIST and NOT_EXIST operations.
References