CVE-2023-23925: Switcher client Denial of Service Vulnerability
HIGHCVE-2023-23925 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Switcher client libraries in the npm ecosystem. The issue involves switcher client contains regular expression denial of service (redos). Remediation is available by upgrading affected packages to version 3.1.4.
CVE-2023-23925 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-23925
To remediate this vulnerability, upgrade all affected Switcher client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install switcher-client@3.1.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls switcher-client
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-23925, inspect your project dependencies using npm:
npm ls switcher-client
Analyze the terminal output to locate any version of Switcher client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.4), your application is affected.
Note: The npm ls switcher-client command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Switcher client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-23925 Affected Switcher client Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
switcher-client
|
npm |
< 3.1.4
|
3.1.4
|
References
Frequently Asked Questions
What is CVE-2023-23925?
Which Switcher client versions are affected?
What version fixes CVE-2023-23925?
Is switcher-client affected?
What is the CVSS score of CVE-2023-23925?
What CWE is associated with CVE-2023-23925?
How can I check npm dependencies for CVE-2023-23925?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wqxw-8h5g-hq56",
"modified" : "2023-02-15T17:35:36Z",
"published" : "2023-02-02T01:33:06Z",
"aliases" : [ "CVE-2023-23925" ],
"summary" : "Switcher Client contains Regular Expression Denial of Service (ReDoS)",
"details" : "### Impact\nUnsanitized 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).\n\n### Patches\nPatched in 3.1.4\n\n### Workarounds\nAvoid using Strategy settings that use REGEX in conjunction with EXIST and NOT_EXIST operations.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "switcher-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/switcherapi/switcher-client-master/security/advisories/GHSA-wqxw-8h5g-hq56"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-23925"
}, {
"type" : "WEB",
"url" : "https://github.com/switcherapi/switcher-client-master/commit/374752563d6ce9353ee592b40c809c8136f24930"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/switcherapi/switcher-client-master"
}, {
"type" : "WEB",
"url" : "https://github.com/switcherapi/switcher-client-master/releases/tag/v3.1.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333", "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-02T01:33:06Z",
"nvd_published_at" : "2023-02-03T20:15:00Z"
}
}