CVE-2024-39317
CVE-2024-39317 · Wagtail regular expression denial-of-service via search query parsing
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Wagtail is an open source content management system built on Django. A bug in Wagtail's `parse_query_string` would result in it taking a long time to process suitably crafted inputs. When used to parse sufficiently long strings of characters without a space, `parse_query_string` would take an unexpectedly large amount of time to process, resulting in a denial of service. In an initial Wagtail installation, the vulnerability can be exploited by any Wagtail admin user. It cannot be exploited by end users. If your Wagtail site has a custom search implementation which uses `parse_query_string`, it may be exploitable by other users (e.g. unauthenticated users). Patched versions have been released as Wagtail 5.2.6, 6.0.6 and 6.1.3.
CVSS 6.5 · Medium · EPSS 0.6% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
wagtail
- Versions
- >= 2.0, < 5.2.6: Affected
- >= 6.0, < 6.0.6: Affected
- >= 6.1, < 6.1.3: Affected
No fix published
wagtail PyPI
- Versions
- 6.0
- 6.0.1
- 6.0.2
- 6.0.3
- 6.0.4
- 6.0.5
- Affected ranges
- ECOSYSTEM: ≥ 6.0, < 6.0.6
Update to 6.0.6
wagtail PyPI
- Versions
- 6.1
- 6.1.1
- 6.1.2
- Affected ranges
- ECOSYSTEM: ≥ 6.1, < 6.1.3
Update to 6.1.3
wagtail PyPI
- Versions
- 2.0
- 2.0.1
- 2.0.2
- 2.1
- 2.1.1
- 2.1.2
- 2.1.3
- 2.10
- 2.10.1
- 2.10.2
- 2.10rc1
- 2.10rc2
- 2.11
- 2.11.1
- 2.11.2
- 2.11.3
- 2.11.4
- 2.11.5
- 2.11.6
- 2.11.7
- 2.11.8
- 2.11.9
- 2.11rc1
- 2.12
- 2.12.1
- 2.12.2
- 2.12.3
- 2.12.4
- 2.12.5
- 2.12.6
- 2.12rc1
- 2.13
- 2.13.1
- 2.13.2
- 2.13.3
- 2.13.4
- 2.13.5
- 2.13rc1
- 2.13rc2
- 2.13rc3
- 2.14
- 2.14.1
- 2.14.2
- 2.14rc1
- 2.15
- 2.15.1
- 2.15.2
- 2.15.3
- 2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.1
- 6.1.2
- v6.0.5
- v5.2.5
- v6.1.2
- v6.0.4
- v6.1.1
- v6.0.3
- v6.1
- v6.1rc2
- v6.0.2
- v6.1rc1
- v5.2.4
- v6.0.1
- v6.0
- v5.2.3
- v6.0rc1
- v5.2.2
- v5.2.1
- v5.2
- v5.2rc1
- v4.1rc1
- v2.16rc1
- v2.11.rc1
- v2.8rc1
- v2.2rc1
- v1.10rc1
- v1.8rc1
- v1.6rc1
- v1.5rc1
- v1.4rc1
- v1.3rc1
- v1.2rc1
- v1.1rc1
- v1.0rc1
- v1.0b2
- v0.8.1
- v0.8
- v0.7
- v0.6
- v0.5
- v0.4
- v0.2
- v0.1
- Affected ranges
- {"events": [{"introduced": "0"}, {"fixed": "31b1e8532dfb1b70d8d37d22aff9cbde9109cdf2"}, {"fixed": "3c941136f79c48446e3858df46e5b668d7f83797"}, {"fixed": "b783c096b6d4fd2cfc05f9137a0be288850e99a2"}], "repo": "https://github.com/wagtail/wagtail", "type": "GIT"}
- ECOSYSTEM: ≥ 6.0, < 6.0.6 ∪ ≥ 6.1, < 6.1.3 ∪ ≥ 2.0, < 5.2.6
Update to 6.0.6; Update to 6.1.3; Update to 5.2.6
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2024-39317