CVE-2023-5968

Source
https://cve.org/CVERecord?id=CVE-2023-5968
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5968.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-5968
Aliases
Published
2023-11-06T15:35:14.094Z
Modified
2026-07-08T07:16:14.638370489Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Password hash in response body after username update
Details

Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. 

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "last_affected": "7.8.11"
                },
                {
                    "last_affected": "8.0.3"
                },
                {
                    "last_affected": "8.1.2"
                },
                {
                    "last_affected": "9.0.0"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5968.json",
    "cwe_ids": [
        "CWE-200"
    ],
    "cna_assigner": "Mattermost"
}
References

Affected packages

Git / github.com/mattermost/mattermost

Affected ranges

Type
GIT
Repo
https://github.com/mattermost/mattermost
Events
Database specific
{
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ],
    "cpe": [
        "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:mattermost:mattermost:9.0.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.8.11"
        },
        {
            "introduced": "8.0.0"
        },
        {
            "last_affected": "8.0.3"
        },
        {
            "introduced": "8.1.0"
        },
        {
            "last_affected": "8.1.2"
        },
        {
            "introduced": "9.0.0"
        },
        {
            "last_affected": "9.0.0"
        }
    ]
}

Affected versions

9.*
9.0.0
@mattermost/client@8.*
@mattermost/client@8.0.0
@mattermost/client@8.1.1
@mattermost/client@9.*
@mattermost/client@9.0.0
@mattermost/types@8.*
@mattermost/types@8.0.0
@mattermost/types@8.1.1
@mattermost/types@9.*
@mattermost/types@9.0.0
Other
cloud-2022-07-20-1
cloud-2022-08-10-1
cloud-2022-09-08-1
cloud-2022-10-06-1
cloud-2022-11-11-1
cloud-2022-11-24-1
cloud-2023-01-26-1
v0.*
v0.5.0
v4.*
v4.10.0-rc1
v4.2.0-rc1
v4.3.0-rc1
v4.4.0-rc1
v4.5.0-rc1
v4.6.0-rc1
v4.6.0-rc2
v4.7.0-rc1
v4.8.0-rc1
v4.9.0-rc1
v5.*
v5.0.0-rc1
v5.1.0-rc1
v5.2.0-rc1
v5.2.0-rc2
v7.*
v7.8.0
v7.8.1
v7.8.10
v7.8.10-rc3
v7.8.10-rc4
v7.8.10-rc5
v7.8.11
v7.8.11-rc1
v7.8.2
v7.8.3
v7.8.4
v7.8.5
v7.8.6
v7.8.7
v7.8.8
v7.8.9
v8.*
v8.0.0
v8.0.1
v8.0.2
v8.0.2-rc2
v8.0.2-rc3
v8.0.3
v8.0.3-rc1
v8.1.0
v8.1.0-rc2
v8.1.1
v8.1.1-rc1
v8.1.1-rc2
v8.1.2
v8.1.2-rc1
v8.1.2-rc2
v9.*
v9.0.0
v9.0.0-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5968.json"