CVE-2021-3810 json
Inefficient Regular Expression Complexity in cdr/code-server
published 2021-09-17 5 y ago modified 2026-09-10 1 mo ago also GHSA-49x3-8228-3w3m , EUVD-2021-1971
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
code-server is vulnerable to Inefficient Regular Expression Complexity
Patch / fix
- npm code-server 3.12.0
- cdr cdr/code-server 3.12.0
Exploit prediction
1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/38888513-30fc-4d8f-805d-34070d60e223 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | code-server | <3.12.0 |
3.12.0 |
Affected products
- cdr cdr/code-server
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/cdr/code-server/commit/ca617df135e78833f93c8320cb2d2cf8bba809f5
web, patch, third-party-advisory
-
huntr.dev
/bounties/38888513-30fc-4d8f-805d-34070d60e223
web, exploit, issue-tracking, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3810
advisory
-
github.com
/cdr/code-server
package
Sources
- CVE List CVE-2021-3810
- GitHub Advisory GHSA-49x3-8228-3w3m
- NVD CVE-2021-3810
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.