Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Service Denied! Understanding How Regex DoS Attacks Work

Ruby Central via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how regular-expression denial-of-service attacks exploit regex matching behavior to consume CPU, using the CRuby regex engine to show why they happen and how to guard against them.

Syllabus

Introduction
Rails Infrastructure Team
Context
Denial of Service
Benchmarks
Algorithmic Complexity
Regex Example
Regular Expressions
State Machines
NFA vs DFA
Backtracking
How to Avoid
Outro

Taught by

Ruby Central

Reviews

Start your review of Service Denied! Understanding How Regex DoS Attacks Work

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.