CVE-2023-5331

Source
https://cve.org/CVERecord?id=CVE-2023-5331
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5331.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-5331
Aliases
Published
2023-10-09T10:40:26.436Z
Modified
2026-07-15T01:48:53.426127528Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
File Information Leak via IDOR in file_id in Draft Posts
Details

Mattermost fails to properly check the creator of an attached file when adding the file to a draft post, potentially exposing unauthorized file information.

Database specific
{
    "cwe_ids": [
        "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5331.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "7.8.10"
                },
                {
                    "last_affected": "8.0.2"
                },
                {
                    "last_affected": "8.1.1"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "Mattermost"
}
References

Affected packages

Git / github.com/mattermost/mattermost

Affected ranges

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

Affected versions

@mattermost/client@8.*
@mattermost/client@8.0.0
@mattermost/client@8.1.1
@mattermost/types@8.*
@mattermost/types@8.0.0
@mattermost/types@8.1.1
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.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.1.0
v8.1.0-rc2
v8.1.1
v8.1.1-rc1
v8.1.1-rc2
v8.1.2-rc1

Database specific

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