Bug 1981519 (CVE-2021-27293) - CVE-2021-27293 restsharp: ReDoS when converting strings into DateTimes
Summary: CVE-2021-27293 restsharp: ReDoS when converting strings into DateTimes
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-27293
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1981520
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-12 17:59 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-07-12 22:40 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-07-12 22:40:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-07-12 17:59:22 UTC
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.

Reference:
https://github.com/restsharp/RestSharp/issues/1556

Comment 1 Guilherme de Almeida Suckevicz 2021-07-12 17:59:38 UTC
Created restsharp tracking bugs for this issue:

Affects: fedora-all [bug 1981520]

Comment 2 Product Security DevOps Team 2021-07-12 22:40:31 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.