Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. matrix-sdk-crypto
  4. ›
  5. CVE-2024-40648

CVE-2024-40648: matrix-sdk-crypto's `UserIdentity::is_verified` not checking verification status of own user identity while performing the check

July 18, 2024 (updated July 19, 2024)

The UserIdentity::is_verified() method in the matrix-sdk-crypto crate before version 0.7.2 doesn’t take into account the verification status of the user’s own identity while performing the check and may as a result return a value contrary to what is implied by its name and documentation.

References

  • github.com/advisories/GHSA-4qg4-cvh2-crgg
  • github.com/matrix-org/matrix-rust-sdk
  • github.com/matrix-org/matrix-rust-sdk/commit/76a7052149bb8f722df12da915b3a06d19a6695a
  • github.com/matrix-org/matrix-rust-sdk/releases/tag/0.7.2-crypto
  • github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-4qg4-cvh2-crgg
  • nvd.nist.gov/vuln/detail/CVE-2024-40648
  • rustsec.org/advisories/RUSTSEC-2024-0356.html

Code Behaviors & Features

Detect and mitigate CVE-2024-40648 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.7.2

Fixed versions

  • 0.7.2

Solution

Upgrade to version 0.7.2 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-863: Incorrect Authorization

Source file

cargo/matrix-sdk-crypto/CVE-2024-40648.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:24 +0000.