Description
API servers running express-zod-api having:
- version of
express-zod-apibelow10.0.0-beta1, - and using the following (or similar) validation schema in its implementation:
z.string().email(),
are vulnerable to a DoS attack due to:
- Inefficient Regular Expression Complexity in
zodversions up to3.22.2, - depending on
zod.
Recommendation
Update the express-zod-api package to the latest compatible version. Followings are version details:
- Affected version(s): < 10.0.0-beta1
- Patched version(s): 10.0.0-beta1
References
Related Issues
- Denial of Service in serialize-to-js - Vulnerability
- Denial of Service in rgb2hex - Vulnerability
- Knwl.js Regular Expression Denial of Service vulnerability - CVE-2020-26306
- Foundation Regular Expression Denial of Service vulnerability - CVE-2020-26304
You might also like:
- Tags:
- npm
- express-zod-api
Anything's wrong? Let us know Last updated on October 04, 2023


