CVE-2025-24904

libsignal-service-rs doesn't sanity check plaintext envelopes are not sanity-checked

State
Published
Severity
8.5 High
Published
Feb 13, 2025
Updated
Feb 13, 2025
Reserved
Jan 27, 2025

Read the record on cve.org

Description

libsignal-service-rs is a Rust version of the libsignal-service-java library which implements the core functionality to communicate with Signal servers. Prior to commit 82d70f6720e762898f34ae76b0894b0297d9b2f8, plaintext content envelopes could be injected by a server or a malicious client, and may have been able to bypass the end-to-end encryption and authentication. The vulnerability is fixed per 82d70f6720e762898f34ae76b0894b0297d9b2f8. The `Metadata` struct contains an additional `was_encrypted` field, which breaks the API, but should be easily resolvable. No known workarounds are available.

Scores

CVSSScoreVectorSource
3.18.5 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-287 Improper Authentication
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Affected Products

ProductVersions
libsignal-service-rswhisperfish
  • < 82d70f6720e762898f34ae76b0894b0297d9b2f8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.