Advisory

GHSA-9pq7-rcxv-47vq

Also known as: CVE-2021-27293

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-07-14 19:10 UTC
Modified
2024-02-17 05:37 UTC

Affected packages and fixes

RestSharp

NuGet · All systems

Affected

  • introduced 0, fixed 106.11.8-alpha.0.13 (ecosystem)

Fixed versions

106.11.8-alpha.0.13

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences