5.4

CVE-2024-40648: matrix-org matrix-rust-sdk Improper Authentication

CVSS: 5.4v3.1MediumDeferred
AliasesopenSUSE-SU-2024:14224-1GHSA-4qg4-cvh2-crggRUSTSEC-2024-0356
Published 18-07-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-40648 is a medium (CVSS 5.4) Improper Authentication vulnerability in matrix-org matrix-rust-sdk. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 19.1% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 18-07-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

Description

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust. 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. If the method is used to decide whether to perform sensitive operations towards a user identity, a malicious homeserver could manipulate the outcome in order to make the identity appear trusted. This is not a typical usage of the method, which lowers the impact. The method itself is not used inside the `matrix-sdk-crypto` crate. The 0.7.2 release of the `matrix-sdk-crypto` crate includes a fix. All users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

0.00 pp

From 0.28% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Crates.Io1 product
  • matrix-sdk-crypto< 0.7.2 | ≥ 0.0.0-0, < 0.7.2
Matrix-org1 product
Opensuse1 product
  • cargo-audit-advisory-db&distro=openSUSE Tumbleweed< 20240730-1.1

3 vendors · 3 products

References

8 links