CVE-2022-35923
Description
v8n is a javascript validation library. Versions of v8n prior to 1.5.1 were found to have an inefficient regular expression complexity in the `lowercase()` and `uppercase()` regex which could lead to a denial of service attack. In testing of the `lowercase()` function a payload of 'a' + 'a'.repeat(i) + 'A' with 32 leading characters took 29443 ms to execute. The same issue happens with uppercase(). Users are advised to upgrade. There are no known workarounds for this issue.
How to fix
- v8n_project v8n1.5.1 or later
- v8n1.5.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| v8n_project v8n | v < 1.5.1 | 1.5.1 |
| v8nnpm | v < 1.5.1 | 1.5.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.