{"id":"CVE-2022-1337","aliases":["CVE-2022-1337","GHSA-f37q-q7p2-ccfc","BIT-MATTERMOST-2022-1337","GO-2022-0595"],"related":[],"kind":"vulnerability","state":"published","title":"OOM DoS in Mattermost image proxy","summary":"The image proxy component in Mattermost version 6.4.1 and earlier allocates memory for multiple copies of a proxied image, which allows an authenticated attacker to crash the server via links to very large image files.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The image proxy component in Mattermost version 6.4.1 and earlier allocates memory for multiple copies of a proxied image, which allows an authenticated attacker to crash the server via links to very large image files.","source":"cvelist"},{"lang":"en","text":"Resource exhaustion in Mattermost in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"El componente de proxy de imágenes en Mattermost versiones 6.4.1 y anteriores, asigna memoria para múltiples copias de una imagen proxy, lo que permite a un atacante autenticado colapsar el servidor por medio de enlaces a archivos de imagen muy grandes","source":"nvd"}],"published":"2022-04-13T17:06:00.000Z","modified":"2026-06-17T04:22:14.620Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"6.4","fixed":"6.4.2","status":"affected"},{"type":"custom","introduced":"6.3","fixed":"6.3.5","status":"affected"},{"type":"custom","introduced":"6.2","fixed":"6.2.5","status":"affected"},{"type":"custom","introduced":"5.37","fixed":"5.37.9","status":"affected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.4.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.4.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"status":"affected","introduced":"5.37.0","fixed":"5.37.9"},{"status":"affected","introduced":"6.2.0","fixed":"6.2.5"},{"status":"affected","introduced":"6.3.0","fixed":"6.3.5"},{"status":"affected","introduced":"6.4.0","fixed":"6.4.2"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"5.37.0","status":"affected","fixed":"5.37.9"},{"type":"semver","introduced":"6.2.0","status":"affected","fixed":"6.2.5"},{"type":"semver","introduced":"6.3.0","status":"affected","fixed":"6.3.5"},{"type":"semver","introduced":"6.4.0","status":"affected","fixed":"6.4.2"}],"ecosystem":"Bitnami","package":"mattermost","purl":"pkg:bitnami/mattermost","source":"bitnami"}],"references":[{"url":"https://mattermost.com/security-updates/","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1337","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/mattermost/mattermost-server","tags":["package"],"sources":["ghsa"]},{"url":"https://mattermost.com/security-updates","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-f37q-q7p2-ccfc","tags":["advisory"],"sources":["go"]}],"credits":["Thanks to Agniva de Sarker for contributing to this improvement under the Mattermost responsible disclosure policy."],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-12-06T22:53:09.720Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-1337","url":"https://www.cve.org/CVERecord?id=CVE-2022-1337","licence":"CVE Terms of Use","modified":"2024-12-06T23:10:06.768Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f37q-q7p2-ccfc","url":"https://github.com/advisories/GHSA-f37q-q7p2-ccfc","licence":"CC-BY-4.0","modified":"2024-08-21T15:41:40.645Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0595","url":"https://pkg.go.dev/vuln/GO-2022-0595","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:38.244Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-1337","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1337","licence":"Public domain","modified":"2026-06-17T04:22:14.620Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MATTERMOST-2022-1337","url":"https://osv.dev/vulnerability/BIT-MATTERMOST-2022-1337","licence":"Apache-2.0","modified":"2025-04-03T14:40:37.652Z"}],"updatedAt":"2026-11-25T22:58:10.609Z","epss":{"score":0.00917,"percentile":0.61305,"date":"2026-12-02T12:00:21.000Z"}}