Skip to content

Denial of Service in uap-core <=0.7.2 when processing crafted User-Agent strings

High
nijikon published GHSA-pcqq-5962-hvcw Mar 6, 2020

Package

uap-ruby (ruby)

Affected versions

< 2.6.0

Patched versions

2.6.0

Description

Impact

Some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings.

Patches

Please update uap-ruby to >= v2.6.0

For more information

GHSA-cmcx-xhr8-3w9p

Reported in uap-core by Ben Caller @bcaller

Severity

High

CVE ID

CVE-2020-5243

Weaknesses

No CWEs

Credits