Security mailing lists by PureSourceCode

CVE-2021-27293

HIGH 7.5CVSS 3.1

Incorrect Regular Expression in RestSharp

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.

Published
12 Jul 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-185CWE-697
Also known as
GHSA-9pq7-rcxv-47vq
Sources
NVDJSONOSV GHSA-9pq7-rcxv-47vqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:*:*:*:*:*:*:*:*
<= 106.11.7
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.10:*:*:*:*:*:*
= 106.11.8
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.11:*:*:*:*:*:*
= 106.11.8
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.12:*:*:*:*:*:*
= 106.11.8
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.2:*:*:*:*:*:*
= 106.11.8
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.3:*:*:*:*:*:*
= 106.11.8
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.4:*:*:*:*:*:*
= 106.11.8
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.6:*:*:*:*:*:*
= 106.11.8
NVD restsharp restsharp
cpe:2.3:a:restsharp:restsharp:106.11.8:alpha0.7:*:*:*:*:*:*
= 106.11.8
OSV NuGet RestSharp < 106.11.8-alpha.0.13 106.11.8-alpha.0.13

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Jul 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Jul 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.