// For flags

CVE-2022-25927

ua-parser-js: ReDoS vulnerability via the trim() function

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Las versiones del paquete ua-parser-js desde 0.7.30 y anteriores a 0.7.33, desde 0.8.1 y anteriores a 1.0.33 son vulnerables a la denegación de servicio de expresión regular (ReDoS) a través de la función trim().

A flaw was found in ua-parser-js. This issue could allow a malicious user to trigger a regular expression denial of service (ReDoS) via the trim() function.

*Credits: Beau Harder
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-02-24 CVE Reserved
  • 2023-01-25 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-08-03 First Exploit
  • 2024-08-17 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-1333: Inefficient Regular Expression Complexity
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Ua-parser-js Project
Search vendor "Ua-parser-js Project"
Ua-parser-js
Search vendor "Ua-parser-js Project" for product "Ua-parser-js"
>= 0.7.30 < 0.7.33
Search vendor "Ua-parser-js Project" for product "Ua-parser-js" and version " >= 0.7.30 < 0.7.33"
node.js
Affected
Ua-parser-js Project
Search vendor "Ua-parser-js Project"
Ua-parser-js
Search vendor "Ua-parser-js Project" for product "Ua-parser-js"
>= 0.8.1 < 1.0.33
Search vendor "Ua-parser-js Project" for product "Ua-parser-js" and version " >= 0.8.1 < 1.0.33"
node.js
Affected