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
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* 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
References (4)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450 | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411 | 2023-11-07 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2022-25927 | 2023-03-23 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2165020 | 2023-03-23 |
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
|