GHSA-xx4c-jj58-r7x6 json
Inefficient Regular Expression Complexity in Validator.js
published 4y ago modified 4y ago
- cvss
- 5.3
- version 3.0, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
### Impact Versions of `validator` prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the `rtrim` and `trim` sanitizers.
### Patches The problem has been patched in validator 13.7.0
Patch / fix
Is GHSA-xx4c-jj58-r7x6 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | validator | >=11.1.0, <13.7.0 |
13.7.0 |
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/validatorjs/validator.js/pull/1738
web
-
github.com
/validatorjs/validator.js/security/advisories/GHSA-xx4c-jj58-r7x6
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-3765
advisory
-
github.com
/validatorjs/validator.js/issues/1599
web
-
github.com
/validatorjs/validator.js
package
-
huntr.dev
/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9
web
Sources
- GitHub Advisory GHSA-xx4c-jj58-r7x6
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.