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.

EPSS: 0.015 (72.2th percentile) — read the EPSS interpretation.

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.

Affected products

  • Restsharp — versions 106.11.8
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.