ADVISORIES

GitHub Advisory Database

GHSA-fx7m-j728-mjw3

uap-core Regular Expression Denial of Service issue

Moderate CVE-2018-20164

Details

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.)

Affected packages

EcosystemPackageAffected versions
npmuap-core
All versions before 0.6.0 (fixed in 0.6.0)

References