Cyber Posture

CVE-2024-46242

High

Published: 07 January 2025

Published
07 January 2025
Modified
15 April 2026
KEV Added
Patch
CVSS Score 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0008 23.0th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Description

An issue in the validate_email function in CTFd/utils/validators/__init__.py of CTFd 3.7.3 allows attackers to cause a Regular expression Denial of Service (ReDoS) via supplying a crafted string as e-mail address during registration.

Security Summary

CVE-2024-46242 is a Regular expression Denial of Service (ReDoS) vulnerability in the validate_email function within CTFd/utils/validators/__init__.py of CTFd version 3.7.3. The flaw enables attackers to trigger excessive resource consumption by supplying a crafted string as an email address during user registration. It carries a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and maps to CWE-1333 (Inefficient Regular Expression Complexity).

Unauthenticated attackers with network access can exploit this vulnerability remotely and with low complexity, requiring no user interaction. By submitting a maliciously crafted email string to the registration endpoint, they induce catastrophic backtracking in the regular expression, resulting in high CPU usage and potential denial of service that disrupts service availability.

Advisories and further details are available via references including the CTFd website at http://ctfd.com and a GitHub gist at https://gist.github.com/salvatore-abello/4f01f3fa54672febc0a492a11a26592c, which may outline patches or workarounds for mitigation.

Details

CWE(s)
CWE-1333

References