Glossary term
What is ReDoS (Regular-expression Denial of Service)?
ReDoS stands for Regular-expression Denial of Service.
In Backend in Depth
A regular expression that can take forever on some input (catastrophic backtracking). A small bad input can freeze the process.
Learn it properly · Backend in DepthLesson 10: Node.js Performance Basics: Event Loop Blocking, Streams, WorkersWhy one heavy CPU job can stop every request, plus streams for large data and worker threads.In Node.js From Zero
A denial of service caused by a regular expression that takes exponential time on crafted input.
Learn it properly · Node.js From ZeroLesson 9: Node.js Interview Questions With Model AnswersEvent loop, streams, errors, scaling and security questions with model answers.