Security readout for executives and security teams
Plain-English summary
This is a denial-of-service weakness in UA-Parser’s shared regex data. A crafted User-Agent header with a long digit sequence can make vulnerable parsers spend excessive CPU, potentially slowing or overloading web services that parse request User-Agent strings.
Executive priority
Treat this as a practical availability risk, not a data-theft issue. Patch exposed services first, especially where User-Agent parsing happens on every request or before traffic controls.
Technical view
CVE-2018-20164 is a ReDoS issue in regex.yaml, also known as regexes.yaml, in UA-Parser UAP-Core before 0.6.0. Because UAP-Core supplies shared regex data, the issue can propagate to downstream implementations that package or consume the vulnerable data.
Likely exposure
Exposure is most likely in internet-facing applications, APIs, logs, analytics, or bot-detection flows that parse HTTP User-Agent headers using UA-Parser UAP-Core data before 0.6.0.
Exploitation context
The provided sources describe remote triggering through an HTTP(S) User-Agent header. There is no KEV listing and no supplied source confirming active exploitation. Practical impact depends on whether User-Agent parsing occurs synchronously on request paths and at what traffic volume.
Researcher notes
The affected component is shared regex data, so language-specific package names may not reveal exposure. Evidence in the bundle does not provide CVSS, CPEs, or active exploitation confirmation; validation should focus on bundled data version and request-path usage.
Mitigation direction
- Upgrade UA-Parser UAP-Core data to version 0.6.0 or later.
- Update downstream UA-Parser language packages that bundle vulnerable regex data.
- Check vendor or package maintainer guidance for implementation-specific fixes.
- Prioritize services that parse User-Agent headers on public request paths.
- Review header-size and request-rate controls as compensating protections.
Validation and detection
- Inventory applications and dependencies that use UA-Parser or UAP-Core data.
- Confirm bundled regex.yaml or regexes.yaml is from UAP-Core 0.6.0 or later.
- Check package lockfiles and vendored data copies for older UAP-Core snapshots.
- Review edge services that parse User-Agent before authentication or rate limiting.
- Use safe regression tests for parser latency without offensive payload details.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2018-20164 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014CVE reference · x_refsource_MISC
- https://github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadcCVE reference · x_refsource_MISC
- https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/CVE reference · x_refsource_MISC
- https://github.com/ua-parser/uap-core/issues/332CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
