Skip to content
DoS Advisory Intermediate CVE-2024-52524

GHSL-2024-324: ReDoS potentially leading to a denial of service in Giskard - CVE-2024-52524

The gruber regular expression in transformation.py is vulnerable to ReDoS, causing exponential slowdown when processing strings with many exclamation marks after a URL. An attacker could supply such a string to cause a denial of service.

kevinbackhouse Follow

Originally disclosed on GitHub Security Lab

The gruber regex in transformation.py has a ReDoS vulnerability, which could potentially lead to a denial of service in Giskard.

kevinbackhouse, 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 regex contains nested quantifiers that cause catastrophic backtracking when matching certain inputs.

Impact

This issue may lead to a denial of service in Giskard.

What the attacker needed

Ability to supply input to the regex

The fix

The vulnerability was fixed in version 2.15.5.

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 (regex) is a pattern used to search text. Some patterns can take a very long time to process certain inputs, especially if they have many repeated characters. Here, a crafted string with many exclamation marks makes the regex slow down exponentially, which could freeze the application.

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 kevinbackhouse

View all

47 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.