CVE-2025-48937 matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator
MediumCVSS 4.9
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
matrix-rust-sdk is an implementation of a Matrix client-server library in Rust. matrix-sdk-crypto since version 0.8.0 and up to 0.11.0 does not correctly validate the sender of an encrypted event. Accordingly, a malicious homeserver operator can modify events served to clients, making those events appear to the recipient as if they were sent by another user. This vulnerability is fixed in 0.11.1 and 0.12.0.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io matrix-sdk-crypto(crates.io) | >= 0.8.0, < 0.11.1 | 0.11.1 | Fixed |
| matrix-org matrix-rust-sdk | = >= 0.8.0, < 0.11.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io matrix-sdk-crypto(crates.io) | >= 0.8.0, < 0.11.1 | 0.11.1 |
| matrix-org matrix-rust-sdk | = >= 0.8.0, < 0.11.1 | No fix listed |
References
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-x958-rvg6-956w vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/matrix-org/matrix-rust-sdk/commit/13c1d2048286bbabf5e7bc6b015aafee98f04d55 patch
- https://github.com/matrix-org/matrix-rust-sdk/commit/56980745b4f27f7dc72ac296e6aa003e5d92a75b patch
- github.com product
- rustsec.org vendor-advisory
- https://spec.matrix.org/v1.14/client-server-api/#mmegolmv1aes-sha2
- crates.io product
- github.com