CVE-2024-5270

Source
https://cve.org/CVERecord?id=CVE-2024-5270
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5270.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-5270
Published
2024-05-26T13:30:53.070Z
Modified
2026-07-08T07:12:18.659250662Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
SAML to email switch possible when email signin is disabled
Details

Mattermost versions 9.5.x <= 9.5.3, 9.7.x <= 9.7.1, 9.6.x <= 9.6.1 and 8.1.x <= 8.1.12 fail to check if the email signup configuration option is enabled when a user requests to switch from SAML to Email. This allows the user to switch their authentication mail from SAML to email and possibly edit personal details that were otherwise non-editable and provided by the SAML provider.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "9.5.0"
                },
                {
                    "last_affected": "9.5.3"
                },
                {
                    "introduced": "9.7.0"
                },
                {
                    "last_affected": "9.7.1"
                },
                {
                    "introduced": "9.6.0"
                },
                {
                    "last_affected": "9.6.1"
                },
                {
                    "introduced": "8.1.0"
                },
                {
                    "last_affected": "8.1.12"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5270.json",
    "cna_assigner": "Mattermost",
    "cwe_ids": [
        "CWE-284"
    ]
}
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": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "8.1.0"
        },
        {
            "fixed": "8.1.13"
        },
        {
            "introduced": "9.5.0"
        },
        {
            "fixed": "9.5.4"
        },
        {
            "introduced": "9.6.0"
        },
        {
            "fixed": "9.6.2"
        },
        {
            "introduced": "9.7.0"
        },
        {
            "fixed": "9.7.2"
        }
    ]
}

Affected versions

@mattermost/client@8.*
@mattermost/client@8.1.1
@mattermost/client@9.*
@mattermost/client@9.5.0
@mattermost/client@9.6.0
@mattermost/client@9.7.0
@mattermost/types@8.*
@mattermost/types@8.1.1
@mattermost/types@9.*
@mattermost/types@9.5.0
@mattermost/types@9.6.0
@mattermost/types@9.7.0
v8.*
v8.1.0
v8.1.0-rc2
v8.1.1
v8.1.1-rc1
v8.1.1-rc2
v8.1.10
v8.1.10-rc1
v8.1.11
v8.1.11-rc1
v8.1.12
v8.1.12-rc1
v8.1.12-rc2
v8.1.12-rc3
v8.1.13-rc1
v8.1.2
v8.1.2-rc1
v8.1.2-rc2
v8.1.3
v8.1.3-rc1
v8.1.3-rc2
v8.1.4
v8.1.4-rc1
v8.1.4-rc2
v8.1.5
v8.1.5-rc1
v8.1.5-rc2
v8.1.6
v8.1.6-rc1
v8.1.7
v8.1.7-rc1
v8.1.7-rc2
v8.1.7-rc3
v8.1.8
v8.1.8-rc1
v8.1.8-rc2
v8.1.9
v8.1.9-rc1
v8.1.9-rc2
v9.*
v9.5.0
v9.5.0-rc3
v9.5.1
v9.5.1-rc1
v9.5.2
v9.5.3
v9.5.3-rc1
v9.5.3-rc2
v9.5.3-rc3
v9.5.4-rc1
v9.6.0
v9.6.0-rc3
v9.6.1
v9.6.1-rc1
v9.6.1-rc2
v9.6.1-rc3
v9.6.2-rc1
v9.7.0
v9.7.0-rc3
v9.7.1

Database specific

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