CVE-2024-23649
Rust vulnerability analysis and mitigation

Overview

CVE-2024-23649 is a vulnerability discovered in Lemmy Server versions >=0.17.0 and <0.19.1, where any authenticated user could obtain private message details from other users on the same instance. The vulnerability was disclosed on January 24, 2024, and has been patched in version 0.19.1 (GitHub Advisory).

Technical details

The vulnerability exists in the private message reporting functionality where the API endpoint '/api/v3/private_message/report' failed to validate whether the reporter was the recipient of the message. The API response when creating a report contained the 'private_message_report_view' with all the details of the report, including the private message itself. This allowed any authenticated user to iterate over message IDs to obtain all private messages of an instance. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (GitHub Advisory).

Impact

The vulnerability allows any authenticated user to obtain arbitrary private message contents from other users on the same instance. The impact is particularly severe on instances where registrations are enabled without an application system, as the privileges required are practically none. Even with registration applications required, the privilege barrier remains relatively low (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Lemmy Server version 0.19.1. For instances unable to update immediately, a workaround is available by blocking the API route in the reverse proxy. This can be implemented in nginx by adding a location block that returns a 403 error for the vulnerable endpoint. While this prevents all private message reporting functionality, it effectively blocks exploitation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22257HIGH8.8
  • RustRust
  • salvo
NoYesJan 08, 2026
CVE-2026-22698HIGH8.7
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22699HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
GHSA-g59m-gf8j-gjf5LOW3.7
  • RustRust
  • aws-sdk-eventbridge
NoYesJan 08, 2026
GHSA-585q-cm62-757jLOW2
  • RustRust
  • mnl
NoNoJan 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management