CVE-2022-35923: v8n - Regular Expression Denial of Service
- Cve: CVE-2022-35923
- Name: v8n - Regular Expression Denial of Service
- 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.
- Impact: Attackers can cause denial of service by triggering high regex processing time, disrupting service availability.
- Remediation: Upgrade to version 1.5.1 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01763
- Epss percentile: 0.78628
- Assignee: [email protected]
- Published at: 2022-08-02T20:15:09Z
- Age in days: 1575
- Modified at: 2026-06-17T04:52:31Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-35923
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
| CWE-1333 | Inefficient Regular Expression Complexity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/2d92f644-593b-43b4-bfd1-c8042ac60609/ | nvd | 2022-08-02 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/imbrn/v8n/commit/92393862156fad190c05ec3f6e2bc73308dcd2f9 | Patch, Third Party Advisory |
| https://huntr.dev/bounties/2d92f644-593b-43b4-bfd1-c8042ac60609/ | Exploit, Third Party Advisory |
| https://github.com/imbrn/v8n/security/advisories/GHSA-xrx9-gj26-5wx9 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| v8n_project:v8n | < 1.5.1 | no | nvd | /v1/products/v8n_project/v8n |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| imbrn/v8n | commit, package, security_advisory | yes | /v1/repositories/imbrn/v8n |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-08-02
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts