Skip to content
OpenAdvisories
High · 7.5 CVE-2021-27293 EUVD-2021-1455GHSA-9pq7-rcxv-47vq

Incorrect Regular Expression in RestSharp

Published Jul 12, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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

EcosystemPackageAffectedFixedRecord
NuGet RestSharp < 106.11.8-alpha.0.13 106.11.8-alpha.0.13 GHSA-9pq7-rcxv-47vq

References