Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. RestSharp
  4. ›
  5. CVE-2021-27293

CVE-2021-27293: Incorrect Comparison

July 12, 2021 (updated September 9, 2021)

RestSharp 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

  • nvd.nist.gov/vuln/detail/CVE-2021-27293

Code Behaviors & Features

Detect and mitigate CVE-2021-27293 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 106.11.8

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

nuget/RestSharp/CVE-2021-27293.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.