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.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-7187 | 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. |
Github GHSA |
GHSA-xrx9-gj26-5wx9 | v8n vulnerable to Inefficient Regular Expression Complexity |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 22 Apr 2025 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-04-22T17:45:31.262Z
Reserved: 2022-07-15T00:00:00.000Z
Link: CVE-2022-35923
Updated: 2024-08-03T09:51:58.523Z
Status : Modified
Published: 2022-08-02T20:15:09.947
Modified: 2024-11-21T07:11:58.283
Link: CVE-2022-35923
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA