{
    "CVE_data_meta": {
        "ASSIGNER": "responsibledisclosure@mattermost.com",
        "ID": "CVE-2022-1337",
        "STATE": "PUBLIC",
        "TITLE": "OOM DoS in Mattermost image proxy"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Mattermost",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "6.4",
                                            "version_value": "6.4.2"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "6.3",
                                            "version_value": "6.3.5"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "6.2",
                                            "version_value": "6.2.5"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "5.37",
                                            "version_value": "5.37.9"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Mattermost"
                }
            ]
        }
    },
    "configuration": [
        {
            "lang": "eng",
            "value": "The local image proxy must be enabled for this issue to become exploitable. This is a non-default configuration."
        }
    ],
    "credit": [
        {
            "lang": "eng",
            "value": "Thanks to Agniva de Sarker for contributing to this improvement under the Mattermost responsible disclosure policy."
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 4.3,
            "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:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-400 Uncontrolled Resource Consumption"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://mattermost.com/security-updates/",
                "name": "https://mattermost.com/security-updates/"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "Upgrade to Mattermost version 6.4.2, 6.3.5, 6.2.5, or 5.37.9."
        }
    ],
    "source": {
        "advisory": "MMSA-2022-0090",
        "defect": [
            "https://mattermost.atlassian.net/browse/MM-41919"
        ],
        "discovery": "INTERNAL"
    },
    "work_around": [
        {
            "lang": "eng",
            "value": "Disable the image proxy or use an external proxy."
        }
    ]
}