How We Eliminated Regular Expression Denial of Service and How You Can Tooby@conradirwin
1,039 reads

How We Eliminated Regular Expression Denial of Service and How You Can Too

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

At Superhuman, we make the fastest email experience in the world. We use regular expressions to process massive amounts of text very rapidly. When regular expressions go wrong, they go devastatingly wrong. Superhuman has accidentally become vulnerable to regular expression denial of service (ReDoS) The problem started after we changed our regular expression to:/("[^"]*"|[^@]*@[#]#) Superhuman is using 100% CPU and not responding…”

Company Mentioned

Mention Thumbnail
featured image - How We Eliminated Regular Expression Denial of Service and How You Can Too
Conrad Irwin HackerNoon profile picture

@conradirwin

Conrad Irwin

Learn More
LEARN MORE ABOUT @CONRADIRWIN'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa