CVE-2022-25927
published 2023-01-26CVE-2022-25927: 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)…
PriorityP336high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.73%
75.2th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-ua-parser-js | < node-ua-parser-js 0.8.1+ds+~0.7.36-3 (bookworm) | node-ua-parser-js 0.8.1+ds+~0.7.36-3 (bookworm) |
| ua-parser-js_project | ua-parser-js | >= 0.7.30 < 0.7.33 | 0.7.33 |
| ua-parser-js_project | ua-parser-js | >= 0.7.30 < 0.7.33 | 0.7.33 |
| ua-parser-js_project | ua-parser-js | >= 0.8.0 < 1.0.33 | 1.0.33 |
| ua-parser-js_project | ua-parser-js | >= 0.8.1 < 1.0.33 | 1.0.33 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
ua-parser-js: ReDoS vulnerability via the trim() function
vendor_redhat·2023-01-22·CVSS 5.3
CVE-2022-25927 [MEDIUM] CWE-1333 ua-parser-js: ReDoS vulnerability via the trim() function
ua-parser-js: ReDoS vulnerability via the trim() function
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.
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.
Package: odo (OpenShift Developer Tools and Services) - Not affected
Package: servicemesh-grafana (OpenShift Service Mesh 2.1) - Will not fix
Package: grafana (Red Hat Ceph Storage 3) - Out of support scope
Package: ua-parser-js (Red Hat Decision Manager 7) - Out of support scope
Package: discovery-server-container (Red Hat Discovery 1) - Not affected
Package: firefox (Red Hat Enterprise L
Debian
CVE-2022-25927: node-ua-parser-js - Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 a...
vendor_debian·2022·CVSS 5.3
CVE-2022-25927 [MEDIUM] CVE-2022-25927: node-ua-parser-js - Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 a...
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.
Scope: local
bookworm: resolved (fixed in 0.8.1+ds+~0.7.36-3)
bullseye: open
forky: resolved (fixed in 0.8.1+ds+~0.7.36-3)
sid: resolved (fixed in 0.8.1+ds+~0.7.36-3)
trixie: resolved (fixed in 0.8.1+ds+~0.7.36-3)
OSV
CVE-2022-25927: Versions of the package ua-parser-js from 0
osv·2023-01-26·CVSS 7.5
CVE-2022-25927 [HIGH] CVE-2022-25927: Versions of the package ua-parser-js from 0
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.
GHSA
ReDoS Vulnerability in ua-parser-js version
ghsa·2023-01-24
CVE-2022-25927 [HIGH] CWE-1333 ReDoS Vulnerability in ua-parser-js version
ReDoS Vulnerability in ua-parser-js version
### Description:
A regular expression denial of service (ReDoS) vulnerability has been discovered in `ua-parser-js`.
### Impact:
This vulnerability bypass the library's `MAX_LENGTH` input limit prevention. By crafting a very-very-long user-agent string with specific pattern, an attacker can turn the script to get stuck processing for a very long time which results in a denial of service (DoS) condition.
### Affected Versions:
From version `0.7.30` to before versions `0.7.33` / `1.0.33`.
### Patches:
A patch has been released to remove the vulnerable regular expression, update to version `0.7.33` / `1.0.33` or later.
### References:
[Regular expression Denial of Service - ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denia
OSV
ReDoS Vulnerability in ua-parser-js version
osv·2023-01-24
CVE-2022-25927 [HIGH] ReDoS Vulnerability in ua-parser-js version
ReDoS Vulnerability in ua-parser-js version
### Description:
A regular expression denial of service (ReDoS) vulnerability has been discovered in `ua-parser-js`.
### Impact:
This vulnerability bypass the library's `MAX_LENGTH` input limit prevention. By crafting a very-very-long user-agent string with specific pattern, an attacker can turn the script to get stuck processing for a very long time which results in a denial of service (DoS) condition.
### Affected Versions:
From version `0.7.30` to before versions `0.7.33` / `1.0.33`.
### Patches:
A patch has been released to remove the vulnerable regular expression, update to version `0.7.33` / `1.0.33` or later.
### References:
[Regular expression Denial of Service - ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denia
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-01-26
Published