GHSA-9pq7-rcxv-47vq
Dashboard / Vulnerabilities / GHSA-9pq7-rcxv-47vq
Summary: Incorrect Regular Expression in RestSharp
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-27293, https://github.com/restsharp/RestSharp/issues/1556, https://github.com/restsharp/RestSharp/commit/be39346784b68048b230790d15333574341143bc, https://restsharp.dev
Affected packages
Package
Name: RestSharp
Purl: pkg:nuget/RestSharp
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -106.11.8-alpha.0.13
Affected versions
1.0.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
