CVEvulnerability
CVE-2021-27293
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-07-12
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- 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 configurations
• restsharp restsharp (<= 106.11.7)
• restsharp restsharp 106.11.8
Related
Weakness · CWE (1)
- CWE-697 Incorrect Comparison weakness
References
- https://github.com/restsharp/RestSharp/issues/1556 Exploit, Patch, Third Party Advisory
- https://restsharp.dev/ Product
- https://github.com/restsharp/RestSharp/issues/1556 Exploit, Patch, Third Party Advisory
- https://restsharp.dev/ Product