# CVE-2021-3810: Inefficient Regular Expression Complexity in cdr/code-server

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-09-17 · Modified: 2024-08-03
- Aliases: CGA-9r4g-vv67-4h3f, CGA-cxj5-9cgx-gp5g, CGA-j27c-f2pj-76rw, CGA-m57f-8m9x-7j2p, GHSA-49x3-8228-3w3m
- Record: https://cvemate.com/vulnerability/CVE-2021-3810 · JSON: https://cvemate.com/vulnerability/CVE-2021-3810/json

## Description

```text
code-server is vulnerable to Inefficient Regular Expression Complexity
```

## Signals

- CVSS: 7.8 high (v2.0, NVD) AV:N/AC:L/Au:N/C:N/I:N/A:C
- EPSS: 1.262%, percentile 70.69%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- chainguard code-server (Chainguard): All versions (No fix recorded)
- chainguard code-server-compat (Chainguard): All versions (No fix recorded)
- wolfi code-server (Wolfi): All versions (No fix recorded)
- wolfi code-server-compat (Wolfi): All versions (No fix recorded)
- cdr cdr/code-server: ≥ unspecified, \< 3.12.0
- coder code-server: \< 3.12.0
- Npm code-server (Npm): \< 3.12.0

## References

- <https://huntr.dev/bounties/38888513-30fc-4d8f-805d-34070d60e223>
- <https://github.com/cdr/code-server/commit/ca617df135e78833f93c8320cb2d2cf8bba809f5>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3810>
- <https://github.com/cdr/code-server>

---

Data as of 2026-12-05T14:48:48.767Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
