Finding back a ReDoS vulnerability in Zod
· 7 min read
On the 28th of September 2023, a critical security vulnerability affecting all versions of Zod was reported under the identifier CVE-2023-4316. Zod is known as "TypeScript-first schema validation with static type inference".
This post proposes an approach to anticipate and prevent such vulnerabilities. by leveraging fast-check and its ecosystem.