What’s Vulnerable › Vulnerabilities
CVE-2021-27293
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-07-12 · updated 2026-06-17
- Weakness: CWE-697
Description
RestSharp < 106.11.8-alpha.0.13 uses a regular expression which is vulnerable to Regular Expression Denial of Service (ReDoS) when converting strings into DateTimes. If a server responds with a malicious string, the client using RestSharp will be stuck processing it for an exceedingly long time. Thus the remote server can trigger Denial of Service.
Affected products
- RestSharp: through 106.11.7; 106.11.8-alpha0.10, 106.11.8-alpha0.11, 106.11.8-alpha0.12, 106.11.8-alpha0.2, 106.11.8-alpha0.3, 106.11.8-alpha0.4 (+2)
References
- https://github.com/restsharp/RestSharp/issues/1556
- https://restsharp.dev/
- https://github.com/restsharp/RestSharp/issues/1556
- https://restsharp.dev/
Get alerted when CVE-2021-27293 or the next vulnerability affects your stack