CVE-2022-35923

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductV8n
PublishedAug 2, 2022
First seenAug 2, 2022

How to fix

Update
  • v8n_project v8n1.5.1 or later
  • v8n1.5.1 or later

Affected products

ProductAffected versionsFixed in
v8n_project v8nv < 1.5.11.5.1
v8nnpmv < 1.5.11.5.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-35923 · V8n · Dark Radar