CVE-2023-2797

Source
https://cve.org/CVERecord?id=CVE-2023-2797
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2797.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-2797
Published
2023-06-16T09:03:17.656Z
Modified
2026-07-15T01:48:59.842719795Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Path traversal in GitHub plugin's code preview feature
Details

Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "7.1.9"
                },
                {
                    "last_affected": "7.8.4"
                },
                {
                    "introduced": "7.10.0"
                },
                {
                    "last_affected": "7.10.0"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-74"
    ],
    "cna_assigner": "Mattermost",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2797.json"
}
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:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:mattermost:mattermost:7.10.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "7.1.0"
        },
        {
            "last_affected": "7.1.9"
        },
        {
            "introduced": "7.8.0"
        },
        {
            "last_affected": "7.8.4"
        },
        {
            "introduced": "7.10.0"
        },
        {
            "last_affected": "7.10.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

7.*
7.10.0
v7.*
v7.1.0
v7.1.1
v7.1.2
v7.1.3
v7.1.4
v7.1.5
v7.1.6
v7.1.7
v7.1.8
v7.1.9
v7.10.0
v7.8.0
v7.8.1
v7.8.2
v7.8.3
v7.8.4

Database specific

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