High severity · published Sep 17, 2021
CVE-2021-3810
code-server is vulnerable to Inefficient Regular Expression Complexity
7.5
CVSS
1.3%
EPSS
No
On KEV
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
Code-server · Coder
before 3.12.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3810
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3810
Patch
https://github.com/cdr/code-server/commit/ca617df135e78833f93c8320cb2d2cf8bba809f5
Exploit
https://huntr.dev/bounties/38888513-30fc-4d8f-805d-34070d60e223
More from Code-server
9.3
CVE-2023-26114
Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes
8.3
CVE-2025-47269
code-server session cookie can be extracted by having user visit specially crafted proxy URL
6.1
CVE-2021-42648
Cross-site scripting (XSS) vulnerability exists in Coder Code-Server before 3.12.0, allows attackers to execute arbitrary code via crafted URL
