Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ua-parser
  4. ›
  5. CVE-2018-20164

CVE-2018-20164: ReDoS

February 13, 2019 (updated October 2, 2019)

The programming library UA-Parser uses regular expressions to identify user agent strings. An attacker can craft special patterns that keep the server busy for a long time. By sending many requests in short order, an attacker can exhaust the amount of processing power available.

References

  • github.com/ua-parser/uap-core/pull/363/files
  • nvd.nist.gov/vuln/detail/CVE-2018-20164
  • www.openwall.com/lists/oss-security/2019/01/10/2
  • www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/

Code Behaviors & Features

Detect and mitigate CVE-2018-20164 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.0

Fixed versions

  • 0.9.0

Solution

Upgrade to 0.9.0 or later

Impact 5.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-185: Incorrect Regular Expression

Source file

pypi/ua-parser/CVE-2018-20164.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.