Vulnerability · Published Sep 17, 2021 · Assigned by @huntrdev
CVE-2021-3810Inefficient Regular Expression Complexity in cdr/code-server
High 7.5
In plain English
A high-severity regular-expression denial of service in cdr/code-server from cdr. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.5High
Exploit odds (30 days)1.3%top 30.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
code-server is vulnerable to Inefficient Regular Expression Complexity
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | code-server | 3.12.0 | GHSA-49x3-8228-3w3m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cdr | cdr/code-server | unspecified – before 3.12.0 |
Weakness: CWE-1333 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://huntr.dev/bounties/38888513-30fc-4d8f-805d-34070d60e223 x_refsource_CONFIRM
- https://github.com/cdr/code-server/commit/ca617df135e78833f93c8320cb2d2cf8bba809f5 x_refsource_MISC