CVE-2024-52813: Matrix sdk crypto Matrix-sdk-crypto Missing Facility To Signal Vulnerability
MODERATECVE-2024-52813 is a MODERATE (CVSS 4.3) matrix-sdk-crypto missing facility to signal vulnerability (CWE-223: Omission of Security-relevant Information) affecting Matrix sdk crypto libraries in the crates.io ecosystem. The issue involves matrix-sdk-crypto missing facility to signal rotation of a verified cryptographic identity. Remediation is available by upgrading affected packages to version 0.8.0.
CVE-2024-52813 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-52813
To remediate this vulnerability, upgrade all affected Matrix sdk crypto dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade matrix-sdk-crypto to 0.8.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for matrix-sdk-crypto
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-52813, inspect your project dependencies for Matrix sdk crypto:
inspect dependencies for matrix-sdk-crypto
Analyze the terminal output to locate any version of Matrix sdk crypto in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-223: Omission of Security-relevant Information, where the product does not record or display information that would be important for identifying the source or nature of an attack, or determining if an action is safe. In Matrix sdk crypto, 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
CVE-2024-52813 Affected Matrix sdk crypto Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
matrix-sdk-crypto
|
crates.io |
< 0.8.0
|
0.8.0
|
References
Frequently Asked Questions
What is CVE-2024-52813?
Which Matrix sdk crypto versions are affected?
What version fixes CVE-2024-52813?
Is matrix-sdk-crypto affected?
What is the CVSS score of CVE-2024-52813?
What CWE is associated with CVE-2024-52813?
How can I check crates.io dependencies for CVE-2024-52813?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r5vf-wf4h-82gg",
"modified" : "2025-01-22T17:37:49Z",
"published" : "2025-01-07T15:25:52Z",
"aliases" : [ "CVE-2024-52813" ],
"summary" : "matrix-sdk-crypto missing facility to signal rotation of a verified cryptographic identity",
"details" : "### Impact\n\nVersions of the matrix-sdk-crypto Rust crate before 0.8.0 lack a dedicated mechanism to notify that a user's cryptographic identity has changed from a verified to an unverified one, which could cause client applications relying on the SDK to overlook such changes.\n\n### Patches\n\nmatrix-sdk-crypto 0.8.0 adds a new `VerificationLevel::VerificationViolation` enum variant which indicates that a previously verified identity has been changed.\n\n### References\n\n- Patch: https://github.com/matrix-org/matrix-rust-sdk/pull/3795\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "matrix-sdk-crypto"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-r5vf-wf4h-82gg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-52813"
}, {
"type" : "WEB",
"url" : "https://github.com/matrix-org/matrix-rust-sdk/pull/3795"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/matrix-org/matrix-rust-sdk"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2024-0434.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-223", "CWE-347" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-07T15:25:52Z",
"nvd_published_at" : "2025-01-07T16:15:35Z"
}
}