CVE-2024-45835: Mattermost desktop Mattermost Desktop App Fails To Vulnerability

LOW
Advisory Identifier: GHSA-xgq9-7gw6-jr5r
CVSS 2.5
CWE-693
Published
Advisory Summary

CVE-2024-45835 is a LOW (CVSS 2.5) mattermost desktop app fails to vulnerability (CWE-693: Protection Mechanism Failure) affecting Mattermost desktop libraries in the npm ecosystem. The issue involves mattermost desktop app fails to sufficiently configure electron fuses. Remediation is available by upgrading affected packages to version 5.9.0.

CVE-2024-45835 at a Glance

CVE Identifier CVE-2024-45835
GHSA Identifier GHSA-xgq9-7gw6-jr5r
Severity LOW
CVSS v3.1 Base Score 2.5
CWE Classification CWE-693: Protection Mechanism Failure
Affected Product Mattermost desktop
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 2.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-45835

To remediate this vulnerability, upgrade all affected Mattermost desktop dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mattermost-desktop fixed: 5.9.0
npm install mattermost-desktop@5.9.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls mattermost-desktop

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2024-45835, inspect your project dependencies using npm:

npm ls mattermost-desktop

Analyze the terminal output to locate any version of Mattermost desktop in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.9.0), your application is affected.

Note: The npm ls mattermost-desktop command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. In Mattermost desktop, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Mattermost Desktop App versions <=5.8.0 fail to sufficiently configure Electron Fuses which allows an attacker to gather Chromium cookies or abuse other misconfigurations via remote/local access.

CVE-2024-45835 Affected Mattermost desktop Versions

1 component(s)
Fixed Versions:
5.9.0
Product / Package Ecosystem Affected Versions Fixed Version
mattermost-desktop
npm
< 5.9.0
5.9.0

References

Frequently Asked Questions

What is CVE-2024-45835?
CVE-2024-45835 is a security vulnerability in Mattermost desktop involving Mattermost Desktop App fails to sufficiently configure Electron Fuses under CWE-693: Protection Mechanism Failure.
Which Mattermost desktop versions are affected?
Affected versions include releases prior to 5.9.0 across affected packages: mattermost-desktop.
What version fixes CVE-2024-45835?
Upgrading to 5.9.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mattermost-desktop affected?
Yes, mattermost-desktop is affected in releases prior to 5.9.0. Upgrade your dependency to 5.9.0 or later.
What is the CVSS score of CVE-2024-45835?
CVE-2024-45835 has a CVSS v3.1 base score of 2.5 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-45835?
CVE-2024-45835 is classified under CWE-693: Protection Mechanism Failure (The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.).
How can I check npm dependencies for CVE-2024-45835?
Run the dependency tree command: 'npm ls mattermost-desktop'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xgq9-7gw6-jr5r",
  "modified" : "2024-09-16T20:20:59Z",
  "published" : "2024-09-16T15:32:46Z",
  "aliases" : [ "CVE-2024-45835" ],
  "summary" : "Mattermost Desktop App fails to sufficiently configure Electron Fuses",
  "details" : "Mattermost Desktop App versions <=5.8.0 fail to sufficiently configure Electron Fuses which allows an attacker to gather Chromium cookies or abuse other misconfigurations via remote/local access.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "mattermost-desktop"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.9.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45835"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mattermost/desktop"
  }, {
    "type" : "WEB",
    "url" : "https://mattermost.com/security-updates"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-693" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-16T20:20:59Z",
    "nvd_published_at" : "2024-09-16T15:15:16Z"
  }
}