{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-5968",
        "assignerOrgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
        "state": "PUBLISHED",
        "assignerShortName": "Mattermost",
        "dateReserved": "2023-11-06T15:28:44.101Z",
        "datePublished": "2023-11-06T15:35:14.094Z",
        "dateUpdated": "2024-09-12T19:26:46.796Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Mattermost",
                    "vendor": "Mattermost",
                    "versions": [
                        {
                            "lessThanOrEqual": "7.8.11",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "8.0.3",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "8.1.2",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "9.0.0",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.8.12"
                        },
                        {
                            "status": "unaffected",
                            "version": "8.0.4"
                        },
                        {
                            "status": "unaffected",
                            "version": "8.1.3"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.0.1"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Juho Nurminen"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.&nbsp;</p>"
                        }
                    ],
                    "value": "Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. \n\n"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.9,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-200",
                            "description": "CWE-200 Exposure of Sensitive Information to an Unauthorized Actor",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
                "shortName": "Mattermost",
                "dateUpdated": "2023-11-06T15:35:14.094Z"
            },
            "references": [
                {
                    "url": "https://mattermost.com/security-updates"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Update Mattermost Server to versions&nbsp;<span style=\"background-color: rgb(255, 255, 255);\">7.8.12,&nbsp;<span style=\"background-color: rgb(255, 255, 255);\">8.0.4,&nbsp;</span></span>8.1.3, 9.0.1 or higher.</p>"
                        }
                    ],
                    "value": "Update Mattermost Server to versions 7.8.12, 8.0.4, 8.1.3, 9.0.1 or higher.\n\n"
                }
            ],
            "source": {
                "advisory": "MMSA-2023-00242",
                "defect": [
                    "https://mattermost.atlassian.net/browse/MM-54225"
                ],
                "discovery": "INTERNAL"
            },
            "title": "Password hash in response body after username update",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T08:14:25.131Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://mattermost.com/security-updates",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-09-04T13:24:21.546464Z",
                                "id": "CVE-2023-5968",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-12T19:26:46.796Z"
                }
            }
        ]
    }
}