{"id":"CVE-2024-39317","state":"PUBLISHED","title":"Wagtail regular expression denial-of-service via search query parsing","description":"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","publishedAt":"2024-07-11T15:23:22.307Z","updatedAt":"2024-08-02T04:19:20.749Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["wagtail wagtail"],"affected":[{"vendor":"wagtail","product":"wagtail","versions":[{"version":">= 2.0, < 5.2.6","status":"affected"},{"version":">= 6.0, < 6.0.6","status":"affected"},{"version":">= 6.1, < 6.1.3","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39317.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-39317","state":"PUBLISHED","datePublished":"2024-07-11T15:23:22.307Z","dateUpdated":"2024-08-02T04:19:20.749Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-21T18:15:22.262Z"},"containers":{"cna":{"title":"Wagtail regular expression denial-of-service via search query parsing","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"wagtail","product":"wagtail","versions":[{"version":">= 2.0, < 5.2.6","status":"affected"},{"version":">= 6.0, < 6.0.6","status":"affected"},{"version":">= 6.1, < 6.1.3","status":"affected"}]}],"references":[{"url":"https://github.com/wagtail/wagtail/security/advisories/GHSA-jmp3-39vp-fwg8","name":"https://github.com/wagtail/wagtail/security/advisories/GHSA-jmp3-39vp-fwg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wagtail/wagtail/commit/31b1e8532dfb1b70d8d37d22aff9cbde9109cdf2","name":"https://github.com/wagtail/wagtail/commit/31b1e8532dfb1b70d8d37d22aff9cbde9109cdf2","tags":["x_refsource_MISC"]},{"url":"https://github.com/wagtail/wagtail/commit/3c941136f79c48446e3858df46e5b668d7f83797","name":"https://github.com/wagtail/wagtail/commit/3c941136f79c48446e3858df46e5b668d7f83797","tags":["x_refsource_MISC"]},{"url":"https://github.com/wagtail/wagtail/commit/b783c096b6d4fd2cfc05f9137a0be288850e99a2","name":"https://github.com/wagtail/wagtail/commit/b783c096b6d4fd2cfc05f9137a0be288850e99a2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-07-11T15:23:22.307Z"},"source":{"advisory":"GHSA-jmp3-39vp-fwg8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-17T15:46:41.169788Z","id":"CVE-2024-39317","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-18T15:20:35.111Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/wagtail/wagtail/security/advisories/GHSA-jmp3-39vp-fwg8","name":"https://github.com/wagtail/wagtail/security/advisories/GHSA-jmp3-39vp-fwg8","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/wagtail/wagtail/commit/31b1e8532dfb1b70d8d37d22aff9cbde9109cdf2","name":"https://github.com/wagtail/wagtail/commit/31b1e8532dfb1b70d8d37d22aff9cbde9109cdf2","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/wagtail/wagtail/commit/3c941136f79c48446e3858df46e5b668d7f83797","name":"https://github.com/wagtail/wagtail/commit/3c941136f79c48446e3858df46e5b668d7f83797","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/wagtail/wagtail/commit/b783c096b6d4fd2cfc05f9137a0be288850e99a2","name":"https://github.com/wagtail/wagtail/commit/b783c096b6d4fd2cfc05f9137a0be288850e99a2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:19:20.749Z"}}]}}}