{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-2785",
        "assignerOrgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
        "state": "PUBLISHED",
        "assignerShortName": "Mattermost",
        "dateReserved": "2023-05-18T10:35:58.147Z",
        "datePublished": "2023-06-16T09:07:28.235Z",
        "dateUpdated": "2024-08-02T06:33:05.558Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Mattermost",
                    "vendor": "Mattermost",
                    "versions": [
                        {
                            "lessThanOrEqual": "7.1.9",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "7.8.4",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "7.9.3",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "7.10.0"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.10.1"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.9.4"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.8.5"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.1.10"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Filip Omazić"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Mattermost fails to properly truncate the postgres error log message of a search query failure allowing an attacker to cause the creation of&nbsp;large log files&nbsp;which can result in Denial of Service</p>"
                        }
                    ],
                    "value": "Mattermost fails to properly truncate the postgres error log message of a search query failure allowing an attacker to cause the creation of large log files which can result in Denial of Service\n\n"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-400",
                            "description": "CWE-400 Uncontrolled Resource Consumption",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
                "shortName": "Mattermost",
                "dateUpdated": "2023-06-28T09:38:30.371Z"
            },
            "references": [
                {
                    "url": "https://mattermost.com/security-updates"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Update Mattermost Server to versions v7.1.10, v7.8.5, v7.9.4, v.7.10.1 or higher.</p>"
                        }
                    ],
                    "value": "Update Mattermost Server to versions v7.1.10, v7.8.5, v7.9.4, v.7.10.1 or higher.\n\n"
                }
            ],
            "source": {
                "advisory": "MMSA-2023-00171",
                "defect": [
                    "https://mattermost.atlassian.net/browse/MM-52216"
                ],
                "discovery": "EXTERNAL"
            },
            "title": "Specially crafted search query can cause large log entries in postgres",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T06:33:05.558Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://mattermost.com/security-updates",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}