CVE-2021-3810: Inefficient Regular Expression Complexity in cdr/code-server
Vulnerability summary
CVE-2021-3810 is a high (CVSS 7.8) vulnerability in cdr cdr/code-server. EPSS estimates a 1.26% chance of exploitation in the next 30 days, higher than 70.6% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 17-09-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
code-server is vulnerable to Inefficient Regular Expression Complexity
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.26%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.26% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- code-serverAll versions (No fix recorded)
- code-server-compatAll versions (No fix recorded)
Wolfi2 products
- code-serverAll versions (No fix recorded)
- code-server-compatAll versions (No fix recorded)
Cdr1 product
- cdr/code-server≥ unspecified, < 3.12.0
Coder1 product
- code-server< 3.12.0
Npm1 product
- code-server< 3.12.0
5 vendors · 7 products
References
4 links- huntr.dev/bounties/38888513-30fc-4d8f-805d-34070d60e223X Refsource CONFIRMFIXWEBExploitIssue TrackingPatchThird Party Advisory
- github.com/cdr/code-server/commit/ca617df135e78833f93c8320cb2d2cf8bba809f5X Refsource MISCFIXWEBPatchThird Party Advisory
- github.com/cdr/code-serverPACKAGE