CVE-2022-25927
Ua-parser-js Project Ua-parser-js vulnerability
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 products
Ua-parser-js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ua-parser-js Project Ua-parser-js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/faisalman/ua-parser-js/security/advisories/GHSA-fhg7-m89q-25r3
- github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411
- nvd.nist.gov/vuln/detail/CVE-2022-25927
- security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450
- github.com/advisories/GHSA-fhg7-m89q-25r3
- nvd.nist.gov/vuln/detail/CVE-2022-25927
- cve.org/CVERecord?id=CVE-2022-25927
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.