CVE-2021-27293

Source
https://cve.org/CVERecord?id=CVE-2021-27293
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27293.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-27293
Aliases
Published
2021-07-12T11:15:08.100Z
Modified
2026-04-10T04:31:30.570321Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/restsharp/RestSharp

Affected ranges

Type
GIT
Repo
https://github.com/restsharp/RestSharp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "106.11.7"
        }
    ]
}

Affected versions

103.*
103.2
103.3
103.4
104.*
104.0
104.1
104.2
104.3.3
104.5.0
105.*
105.0
105.0.1
105.1.0
105.2.1
105.2.2
105.2.3
106.*
106.10.0
106.10.1
106.11.0
106.11.1
106.11.2
106.11.3
106.11.4
106.11.7
106.2
106.2.1
106.2.2
106.3
106.3.1
106.6.10
106.6.7
106.6.8
106.7
106.7.0
106.8.9
106.9.0
Other
legacy
v102.*
v102.6
v102.7
v103.*
v103.0
v103.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27293.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.11"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.12"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.2"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.4"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.6"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "106.11.8-alpha0\\.7"
            }
        ]
    }
]