Live threats

All CVEs / Uaparser

CVE-2018-20164Uaparser User Agent Parser-core

Medium 5.3 No auth needed

Priority
47
CVSS 3.0
5.3
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Feb 13, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-185
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

An issue was discovered in regex.yaml (aka regexes.yaml) in UA-Parser UAP-Core before 0.6.0. A Regular Expression Denial of Service (ReDoS) issue allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to a value containing a long digit string. (The UAP-Core project contains the vulnerability, propagating to all implementations.)

Original NVD text.

What to do

  1. Apply the vendor's security update for User Agent Parser-core.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm uap-core < 0.6.0 0.6.0 npm install uap-core@0.6.0

Per OSV / GitHub Advisories (GHSA-fx7m-j728-mjw3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
uaparseruser_agent_parser-core< 0.6.0

Official sources

References

Links published by the sources. Open them with care.