ismobilejs@0.4.0 vulnerabilities
A simple JS library that detects mobile devices.
-
latest version
1.1.1
-
latest non vulnerable version
-
first published
10 years ago
-
latest version published
5 years ago
-
licenses detected
- >=0.3.3 <0.5.2
Direct Vulnerabilities
Known vulnerabilities in the ismobilejs package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.Vulnerability | Vulnerable Version |
---|---|
ismobilejs is a simple JS library that detects mobile devices. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via multiple regular expression used for parsing the user agent. For example:
Multiple such regexs are checked against the user agent for 40.000 characters around 22 seconds matching time. How to fix Regular Expression Denial of Service (ReDoS)? Upgrade ismobilejs to version 0.5.0 or higher. |
<0.5.0
|