Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. desktop
  4. ›
  5. CVE-2022-23597

CVE-2022-23597: Use After Free

February 1, 2022 (updated February 4, 2022)

Element Desktop is a Matrix client for desktop platforms with Element Web at its core. Element Desktop before 1.9.7 is vulnerable to a remote program execution bug with user interaction. The exploit is non-trivial and requires clicking on a malicious link, followed by another button click. To the best of our knowledge, the vulnerability has never been exploited in the wild. If you are using Element Desktop < 1.9.7, we recommend upgrading at your earliest convenience. If successfully exploited, the vulnerability allows an attacker to specify a file path of a binary on the victim’s computer which then gets executed. Notably, the attacker does not have the ability to specify program arguments. However, in certain unspecified configurations, the attacker may be able to specify an URI instead of a file path which then gets handled using standard platform mechanisms. These may allow exploiting further vulnerabilities in those mechanisms, potentially leading to arbitrary code execution.

References

  • github.com/vector-im/element-desktop/commit/89b1e39b801655e595337708d4319ba4313feafa
  • github.com/vector-im/element-desktop/security/advisories/GHSA-mjrg-9f8r-h3m7
  • nvd.nist.gov/vuln/detail/CVE-2022-23597

Code Behaviors & Features

Detect and mitigate CVE-2022-23597 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.9.7

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

npm/desktop/CVE-2022-23597.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:28 +0000.