Vulnerability in Restsharp
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. 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.015 (74.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Restsharp — versions 106.11.8
Weakness classification (CWE)
Public proof-of-concept exploits
References
- restsharp.dev/ (Product)
- github.com/restsharp/RestSharp/issues/1556 (Exploit, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-27293?
- CVE-2021-27293 is a high-severity vulnerability in Restsharp, classified under Incorrect Comparison. CVSS score: 7.5/10. Published 2021-07-12.
- How severe is CVE-2021-27293?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-27293 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.