GitHub Advisoryadvisory · PyPI

GHSA-pjwm-cr36-mwv3 ReDoS in giskard's transformation.py (GHSL-2024-324)

MEDIUM Published 2024-11-14 Modified 2024-11-14 Official page ↗
Aliases
CVE-2024-52524
Ecosystem
PyPI
Packages
giskard
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear
Weaknesses
CWE-1333
Reviewed
2024-11-14

Affected packages

• PyPI giskard: < 2.15.5 → fixed in 2.15.5

Description

ReDoS in Giskard text perturbation detector A Remote Code Execution (ReDoS) vulnerability was discovered in Giskard component by the GitHub Security Lab team. When processing datasets with specific text patterns with Giskard detectors, this vulnerability could trigger exponential regex evaluation times, potentially leading to denial of service. Details The vulnerability affects Giskard's punctuation removal transformation used in the text perturbation detection. A regex used to detect URLs and links was vulnerable to catastrophic backtracking that could be triggered by specific patterns in the text. Affected version Giskard versions prior to 2.15.5 are affected. Users should upgrade to version 2.15.5 or later, which includes a fix for this vulnerability. Impact This vulnerability can cause extended computation times or crashes in Giskard when processing text containing certain patterns. Credit This issue was discovered and reported by GHSL team member @kevinbackhouse (Kevin Backhouse).

Related

Alias · CVE (1)

  • CVE-2024-52524 Giskard is an evaluation and testing framework for AI systems. vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References