CVE-2021-27293
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.51%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.51% probability · 73th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-697
- Affected
- restsharp/restsharp
- Source
- cve@mitre.org
References
- https://github.com/restsharp/RestSharp/issues/1556Exploit, Patch, Third Party Advisory
- https://restsharp.dev/Product
- https://github.com/restsharp/RestSharp/issues/1556Exploit, Patch, Third Party Advisory
- https://restsharp.dev/Product
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.