Skip to content
DoS Advisory Beginner

GHSL-2020-348: ReDoS (Regular Expression Denial of Service) in DevExtreme

The email validator in DevExtreme contains a regular expression vulnerable to ReDoS, allowing an attacker to cause a denial of service by supplying a crafted email address. The report demonstrates this by pasting a specific string into the email input on a demo page.

ghsecuritylab Follow

Originally disclosed on GitHub Security Lab

The project contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service)

ghsecuritylab, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the email validation regular expression contains ambiguous repetition that allows exponential backtracking on certain inputs.

Impact

This issue may lead to a denial of service.

What the attacker needed

Victim uses the email validator; attacker can supply input to the validator

The fix

The issue was fixed by updating the regular expression to remove ambiguity, as indicated by the linked pull request and the timeline.

How it was found

  1. Open the demo page for form validation.
  2. Paste the provided string into the email input field.
  3. Click away from the input field to trigger validation.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A regular expression is a pattern used to check text. Some patterns can become extremely slow when given a specially crafted input, making the application freeze. This is called a regular expression denial of service (ReDoS). Here, the email validator in a UI library could be made to hang, potentially blocking the user interface.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by ghsecuritylab

View all

132 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.