{"id":"CVE-2024-39317","published":"2024-07-11T15:23:22Z","modified":"2024-08-02T04:19:20Z","title":"Wagtail regular expression denial-of-service via search query parsing","vendor":"wagtail","product":"wagtail","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01114,"percentile":0.65641,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/wagtail/wagtail/security/advisories/GHSA-jmp3-39vp-fwg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wagtail/wagtail/commit/31b1e8532dfb1b70d8d37d22aff9cbde9109cdf2","tags":["x_refsource_MISC"]},{"url":"https://github.com/wagtail/wagtail/commit/3c941136f79c48446e3858df46e5b668d7f83797","tags":["x_refsource_MISC"]},{"url":"https://github.com/wagtail/wagtail/commit/b783c096b6d4fd2cfc05f9137a0be288850e99a2","tags":["x_refsource_MISC"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":13.13},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"wagtail","affectedVersions":[{"vendor":"wagtail","product":"wagtail","versions":[">= 2.0, < 5.2.6",">= 6.0, < 6.0.6",">= 6.1, < 6.1.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-17T15:46:41.169788Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"wagtail","vulnerableRanges":[">=6.0, <6.0.6",">=6.1, <6.1.3",">=2.0, <5.2.6"],"patched":["6.0.6","6.1.3","5.2.6"],"from":["GHSA-jmp3-39vp-fwg8","PYSEC-2024-86"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0186","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-45809","published":"2023-10-19","fixed":"5.1.3","kev":false,"link":{"from":"CVE-2023-45809","to":"CVE-2024-39317","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:wagtail","fromFixed":"5.1.3","toFixed":"5.2.6","daysApart":266}]}},{"cve":"CVE-2024-32882","published":"2024-05-02","fixed":"6.0.3","kev":false},{"cve":"CVE-2024-35228","published":"2024-05-30","fixed":"6.1.2","kev":false,"link":{"from":"CVE-2024-35228","to":"CVE-2024-39317","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:wagtail","fromFixed":"6.0.5","toFixed":"6.0.6","daysApart":42}]}},{"cve":"CVE-2024-39317","published":"2024-07-11","fixed":"6.1.3","kev":false},{"cve":"CVE-2026-25517","published":"2026-02-04","fixed":"7.3","kev":false,"link":{"from":"CVE-2024-39317","to":"CVE-2026-25517","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:wagtail","fromFixed":"6.1.3","toFixed":"6.3.6","daysApart":573}]}},{"cve":"CVE-2026-28222","published":"2026-03-05","fixed":"7.3.1","kev":false},{"cve":"CVE-2026-28223","published":"2026-03-05","fixed":"7.3.1","kev":false}],"package":"PyPI:wagtail"}}