CVE-2022-35923
Summary
| CVE | CVE-2022-35923 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-02 20:15:00 UTC |
| Updated | 2023-07-21 20:49:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-1333
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | V8n Project | V8n | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Inefficient Regular Expression Complexity potentially leads to Denial of Service in vulnerability found in v8n | MISC | huntr.dev | |
| Inefficient Regular Expression Complexity · Advisory · imbrn/v8n · GitHub | CONFIRM | github.com | |
| fix inefficient regular expressions on lowercase and uppercase rules · imbrn/v8n@9239386 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.