{
  "id": "CVE-2025-24904",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-24904",
  "published_at": "2025-02-13T15:24:20.246Z",
  "title": "libsignal-service-rs doesn't sanity check plaintext envelopes are not sanity-checked",
  "vendor": "whisperfish",
  "product": "libsignal-service-rs",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-287",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "whisperfish",
        "product": "libsignal-service-rs",
        "ranges": [
          "\u003c 82d70f6720e762898f34ae76b0894b0297d9b2f8"
        ],
        "fixed_in": [
          "82d70f6720e762898f34ae76b0894b0297d9b2f8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libsignal-service-rs to 82d70f6720e762898f34ae76b0894b0297d9b2f8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/whisperfish/libsignal-service-rs/security/advisories/GHSA-hrrc-wpfw-5hj2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/whisperfish/libsignal-service-rs/commit/82d70f6720e762898f34ae76b0894b0297d9b2f8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
