{"id":"CVE-2024-22091","published":"2024-04-26T08:24:34Z","modified":"2024-08-01T22:35:34Z","title":"Excessive resource consumption due to lack to request path size limits","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 8.1.x <= 8.1.10, 9.6.x <= 9.6.0, 9.5.x <= 9.5.2 and 8.1.x <= 8.1.11 fail to limit the size of a request path that includes user inputs which allows an attacker to cause excessive resource consumption, possibly leading to a DoS via sending large request paths\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00537,"percentile":0.46197,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":9.24},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 8.1.0, <= 8.1.10","9.6.0",">= 9.5.0, <= 9.5.2",">= 8.1.0, <= 8.1.11"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.7.0","8.1.11","9.6.1","9.5.3","8.1.12"]}],"solutions":{"items":["Update Mattermost to versions 9.7.0, 8.1.11, 9.6.1, 9.5.3, 8.1.12 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-26T14:47:29.118846Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=8.1.0, <8.1.12",">=9.5.0, <9.5.3",">=9.6.0-rc1, <9.6.1",">=8.1.0+incompatible, <8.1.12+incompatible",">=9.5.0+incompatible, <9.5.3+incompatible",">=9.6.0-rc1+incompatible, <9.6.1+incompatible"],"patched":["8.1.12","9.5.3","9.6.1","8.1.12+incompatible","9.5.3+incompatible","9.6.1+incompatible"],"from":["GHSA-p2wq-4ggp-45f3","GO-2024-2796"],"provenance":"source"}],"summary":{"text":"Mattermost's server fails to limit the size of request paths that incorporate user-supplied input, which is a resource consumption flaw affecting the Mattermost product. An attacker with network access and low-privilege authenticated credentials, requiring no user interaction, can send oversized request paths to drive excessive resource consumption, potentially causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:56Z"},"euvd":{"id":"EUVD-2024-1261","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2023-5969","parents":[{"from":"CVE-2023-5969","to":"CVE-2024-22091","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/system.go"],"commits":["https://github.com/mattermost/mattermost/commit/77f094c7ee8c7a00be01c2df72f948a62c690b66","https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260"],"basis":"rarely changed file"}]},{"from":"CVE-2024-28949","to":"CVE-2024-22091","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/preference.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/11a21f4da352a472a09de3b8e125514750a6619a","https://github.com/mattermost/mattermost/commit/362b7d29d35c00fe80721d3d47442a4f3168eb2b"],"basis":"shared function","functions":["deletePreferences","updatePreferences"]}]}],"children":[{"from":"CVE-2024-22091","to":"CVE-2024-32046","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/web/handlers.go","server/public/model/utils.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/2a48b5b3428cae494452125401e4f72780543ac8","https://github.com/mattermost/mattermost/commit/93738756ff79777c6e340c8de63a7b4b0f881d27"],"basis":"shared function","functions":["ServeHTTP"]}]},{"from":"CVE-2024-22091","to":"CVE-2025-11777","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/channel.go","server/channels/api4/user.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/98acefe911dd9de7edf47a7d825dd99f53141a52","https://github.com/mattermost/mattermost/commit/ba86dfc5876b354b9d3c20ff45c08ca6f8426149"],"basis":"shared function","functions":["getChannelMembersByIds"]}]},{"from":"CVE-2024-22091","to":"CVE-2025-11794","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/user.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/375ce229f4923205394d8f27925372b2cbf28130","https://github.com/mattermost/mattermost/commit/6c288aa62bb3343183ec1d0a06360d14aa0193e9"],"basis":"shared function","functions":["InitUser"]}]},{"from":"CVE-2024-22091","to":"CVE-2025-13870","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/channel.go","server/channels/api4/user.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/ba86dfc5876b354b9d3c20ff45c08ca6f8426149"],"basis":"shared function","functions":["getChannelMembersByIds"]}]},{"from":"CVE-2024-22091","to":"CVE-2025-14822","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/public/model/utils.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/4d86263f5430d0eb991fc52ec886cf778cb072e6","https://github.com/mattermost/mattermost/commit/b3d6c0c564c1a79e54e5105d0a8b60fc58a2bdee"],"basis":"rarely changed file"}]},{"from":"CVE-2024-22091","to":"CVE-2025-41443","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/channel.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/e8c7e7d0252bbf1e098aae4a5ea05d945afd7e70"],"basis":"shared function","functions":["getPublicChannelsByIdsForTeam"]}]},{"from":"CVE-2024-22091","to":"CVE-2025-55073","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/user.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/375ce229f4923205394d8f27925372b2cbf28130","https://github.com/mattermost/mattermost/commit/6c288aa62bb3343183ec1d0a06360d14aa0193e9"],"basis":"shared function","functions":["InitUser"]}]},{"from":"CVE-2024-22091","to":"CVE-2025-55074","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/channel.go","server/channels/api4/user.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/98acefe911dd9de7edf47a7d825dd99f53141a52","https://github.com/mattermost/mattermost/commit/ba86dfc5876b354b9d3c20ff45c08ca6f8426149"],"basis":"shared function","functions":["getChannelMembersByIds"]}]},{"from":"CVE-2024-22091","to":"CVE-2026-6739","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/role.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/2c89c2f6768fbe4dfd57a21ca38c0aecead8d4a8","https://github.com/mattermost/mattermost/commit/5e159647b16e571b327ac6882f32eae42971f540"],"basis":"rarely changed file"}]},{"from":"CVE-2024-22091","to":"CVE-2026-7184","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/remote_cluster.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/cad3e8e51a4d8627af6442f9df8ae3667fac7fc1","https://github.com/mattermost/mattermost/commit/c5e67e28271c23cb585fe1a30ae81defcde848d6"],"basis":"rarely changed file"}]}]}}