#VU94376 Inefficient regular expression complexity in wagtail - CVE-2024-39317
Published: July 16, 2024
wagtail
Torchbox
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when processing untrusted input with a regular expressions within parse_query_string. A remote user can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Remediation
External links
- https://github.com/wagtail/wagtail/security/advisories/GHSA-jmp3-39vp-fwg8
- https://github.com/wagtail/wagtail/commit/31b1e8532dfb1b70d8d37d22aff9cbde9109cdf2
- https://github.com/wagtail/wagtail/commit/3c941136f79c48446e3858df46e5b668d7f83797
- https://github.com/wagtail/wagtail/commit/b783c096b6d4fd2cfc05f9137a0be288850e99a2