Vulnerability · Published Jul 12, 2021 · Assigned by mitre
CVE-2021-27293
High 7.5
In plain English
A high-severity security flaw in the restsharp package (NuGet). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.5%top 25.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | restsharp | 106.11.8-alpha.0.13 | GHSA-9pq7-rcxv-47vq |
Affected products (as reported)
References
- https://restsharp.dev/ x_refsource_MISC
- https://github.com/restsharp/RestSharp/issues/1556 x_refsource_MISC