Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. switcher-client
  4. ›
  5. GMS-2023-233

GMS-2023-233: Switcher Client contains Regular Expression Denial of Service (ReDoS)

February 2, 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

  • github.com/advisories/GHSA-wqxw-8h5g-hq56
  • github.com/switcherapi/switcher-client-master/security/advisories/GHSA-wqxw-8h5g-hq56

Code Behaviors & Features

Detect and mitigate GMS-2023-233 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.4

Fixed versions

  • 3.1.4

Solution

Upgrade to version 3.1.4 or above.

Source file

npm/switcher-client/GMS-2023-233.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.