Skip to content
OpenAdvisories
Medium · 5.7 CVE-2020-5243 EUVD-2020-0301GHSA-cmcx-xhr8-3w9p

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

Published Feb 20, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. 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. This has been patched in uap-core 0.7.3.

Affected products

VendorProductAffectedFixed
ua-parser uap-core < 0.7.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 uap-core 1:0.8.0-1 —
Debian 13 uap-core 1:0.8.0-1 —
Debian 12 uap-core 1:0.8.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 uap-core No fix yet —
Ubuntu 26.04 LTS uap-core No fix yet —
Ubuntu 25.10 uap-core No fix yet —
Ubuntu 24.04 LTS uap-core No fix yet —
Ubuntu 22.04 LTS uap-core No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS uap-core No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm uap-core < 0.7.3 0.7.3 GHSA-cmcx-xhr8-3w9p
RubyGems user_agent_parser < 2.6.0 2.6.0 GHSA-cmcx-xhr8-3w9p

References