CVE-2022-25927

Medium

Description

Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() function.

SeverityMedium
CVSS5.3
Exploit probability—
ProductUa-parser-js
PublishedJan 26, 2023
First seenJan 26, 2023
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • ua-parser-js_project ua-parser-js0.7.33, 1.0.33 or later
  • ua-parser-js0.7.33, 1.0.33 or later

Affected products

ProductAffected versionsFixed in
ua-parser-js_project ua-parser-js0.7.30 ≤ v < 0.7.33, 0.8.1 ≤ v < 1.0.330.7.33, 1.0.33
ua-parser-jsnpm0.7.30 ≤ v < 0.7.33, 0.8.0 ≤ v < 1.0.330.7.33, 1.0.33

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.