CVE-2021-27293
RestSharp ReDoS Vulnerability
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.
INFO
Published Date :
July 12, 2021, 11:15 a.m.
Last Modified :
Sept. 9, 2021, 12:43 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-27293 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-27293
.
URL | Resource |
---|---|
https://github.com/restsharp/RestSharp/issues/1556 | Exploit Patch Third Party Advisory |
https://restsharp.dev/ | Product |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
SCA testing
C#
None
Python JavaScript C#
Find regular expressions which are vulnerable to ReDoS (Regular Expression Denial of Service)
Python JavaScript C#
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-27293
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-27293
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Sep. 09, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:restsharp:restsharp:*:*:*:*:*:*:*:* versions up to (including) 106.11.7 *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.10:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.11:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.12:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.2:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.3:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.4:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.6:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.7:*:*:*:*:*:* OR *cpe:2.3:a:restsharp:restsharp:*:*:*:*:*:*:*:* versions up to (including) 106.11.7 *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.10:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.11:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.12:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.2:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.3:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.4:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.6:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.7:*:*:*:*:*:* -
Initial Analysis by [email protected]
Jul. 14, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/restsharp/RestSharp/issues/1556 No Types Assigned https://github.com/restsharp/RestSharp/issues/1556 Exploit, Patch, Third Party Advisory Changed Reference Type https://restsharp.dev/ No Types Assigned https://restsharp.dev/ Product Added CWE NIST CWE-697 Added CPE Configuration OR *cpe:2.3:a:restsharp:restsharp:*:*:*:*:*:*:*:* versions up to (including) 106.11.7 *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.10:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.11:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.12:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.2:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.3:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.4:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.6:*:*:*:*:*:* *cpe:2.3:a:restsharp:restsharp:106.11.8:alpha.0.7:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-27293
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-27293
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.13 }} 0.02%
score
0.46898
percentile