Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-20164

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-20164
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:49 UTC · Revision 1

Source evidence

CVE-2018-20164

core-osv · Original source

Published 13 Feb 2019, 14:29 UTC

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

osv:CVE-2018-20164
Complete source record
{
  "id": "e5a2d4c22c03e79aafb253eb2644795aff13c0b116a4e420e48d0ee1d34505e4",
  "url": "https://osv.dev/vulnerability/CVE-2018-20164",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-20164",
    "summary": "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.)",
    "evidence": "osv:CVE-2018-20164",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-20164",
      "aliases": [
        "CVE-2018-20164",
        "GHSA-fx7m-j728-mjw3"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ua-parser/uap-core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "010ccdc7303546cd22b9da687c29f4a996990014"
                },
                {
                  "fixed": "156f7e12b215bddbaf3df4514c399d683e6cdadc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:uaparser:user_agent_parser-core:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "010ccdc7303546cd22b9da687c29f4a996990014"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "156f7e12b215bddbaf3df4514c399d683e6cdadc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.3.4",
            "php-3.3",
            "java-1.3.0",
            "java-1.2.2",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.1",
            "v0.1.0",
            "semver"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20164.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:03.613712495Z",
      "provider": "osv",
      "references": [
        "https://github.com/ua-parser/uap-core/issues/332",
        "https://github.com/ua-parser/uap-core/commit/010ccdc7303546cd22b9da687c29f4a996990014",
        "https://github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc",
        "https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-20164",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379987,
  "published_at": "2019-02-13T14:29:00.24+00:00"
}