GitHub Advisoryadvisory · npm
GHSA-3phv-83cj-p8p7 nope-validator Regular Expression Denial of Service vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2020-26309
- Ecosystem
- npm
- Packages
- nope-validator
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
- Weaknesses
- CWE-1333
- Reviewed
- 2024-10-28
Affected packages
• npm nope-validator: < 0.12.1 → fixed in 0.12.1
Description
Nope is a JavaScript validator. Versions 0.11.3 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). This vulnerability is fixed in 0.12.1.
Related
Alias · CVE (1)
- CVE-2020-26309 Validate.js provides a declarative way of validating javascript objects. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-26309 advisory
- https://github.com/ftonato/nope-validator/issues/352 web
- https://github.com/ftonato/nope-validator/commit/4564b7444dcd92769e5c5b80420469c9f18b7a05#diff-9c399c46fa266bcf2be2704fbb369181726959e148e95ab548a32ef9ca9e7d47R1 web
- https://github.com/ftonato/nope-validator/commit/c8af9f93abe8f4786f8f69d2b0518f8ca3652f44 web
- https://github.com/ftonato/nope-validator package
- https://securitylab.github.com/advisories/GHSL-2020-303-redos-nope-validator advisory