ghsa-4qg4-cvh2-crgg
Vulnerability from github
Published
2024-07-18 15:28
Modified
2024-07-19 15:27
Severity ?
4.8 (Medium) - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
6.3 (Medium) - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
6.3 (Medium) - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VLAI Severity ?
Summary
matrix-sdk-crypto's `UserIdentity::is_verified` not checking verification status of own user identity while performing the check
Details
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.
Impact
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.
Patches
The 0.7.2 release of the matrix-sdk-crypto
crate includes a fix.
Workarounds
None.
{ "affected": [ { "package": { "ecosystem": "crates.io", "name": "matrix-sdk-crypto" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.7.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-40648" ], "database_specific": { "cwe_ids": [ "CWE-287", "CWE-863" ], "github_reviewed": true, "github_reviewed_at": "2024-07-18T15:28:07Z", "nvd_published_at": "2024-07-18T17:15:05Z", "severity": "MODERATE" }, "details": "The `UserIdentity::is_verified()` method in the matrix-sdk-crypto crate before version 0.7.2 doesn\u0027t take into account the verification status of the user\u0027s own identity while performing the check and may as a result return a value contrary to what is implied by its name and documentation.\n\n### Impact\n\nIf 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.\n\n### Patches\n\nThe 0.7.2 release of the `matrix-sdk-crypto` crate includes a fix.\n\n### Workarounds\n\nNone.\n", "id": "GHSA-4qg4-cvh2-crgg", "modified": "2024-07-19T15:27:44Z", "published": "2024-07-18T15:28:07Z", "references": [ { "type": "WEB", "url": "https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-4qg4-cvh2-crgg" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-40648" }, { "type": "WEB", "url": "https://github.com/matrix-org/matrix-rust-sdk/commit/76a7052149bb8f722df12da915b3a06d19a6695a" }, { "type": "PACKAGE", "url": "https://github.com/matrix-org/matrix-rust-sdk" }, { "type": "WEB", "url": "https://github.com/matrix-org/matrix-rust-sdk/releases/tag/0.7.2-crypto" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2024-0356.html" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "matrix-sdk-crypto\u0027s `UserIdentity::is_verified` not checking verification status of own user identity while performing the check" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…