VYPR
High severityNVD Advisory· Published Oct 27, 2020· Updated Sep 17, 2024

Regular Expression Denial of Service (ReDoS)

CVE-2020-7755

Description

All versions of package dat.gui are vulnerable to Regular Expression Denial of Service (ReDoS) via specifically crafted rgb and rgba values.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

dat.gui vulnerable to Regular Expression Denial of Service (ReDoS) via crafted rgb/rgba color strings.

The dat.gui library is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to flawed regular expressions used to parse CSS color values [1]. Specifically, the regex for rgb and rgba colors contains nested quantifiers (e.g., \s*(.+)\s*) that can cause catastrophic backtracking when processing specially crafted input [2].

An attacker can exploit this by providing a string such as "rgb(" followed by thousands of spaces, causing the regex engine to spend an exponential amount of time attempting to match the pattern, leading to a denial of service [1]. No authentication is required, as the attack can be triggered simply by passing a malicious color value to the GUI.

The impact is a denial of service that can freeze the application or make it unresponsive, affecting all users of dat.gui that process user-supplied color strings [3]. This vulnerability has a CVSS score of 7.5 (High).

A fix has been proposed in GitHub pull request #279, which modifies the regex to eliminate the ReDoS vector [4]. Users are advised to update to the latest patched version or apply the workaround until a fix is released.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
dat.guinpm
<= 0.7.7

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.