CVE-2021-43799
NixOS vulnerability analysis and mitigation

Overview

In versions of Zulip Server prior to 4.9, the initial installation (until first reboot or restart of RabbitMQ) did not successfully limit the RabbitMQ distribution port 25672, which is used for inter-node communication. The vulnerability was identified as CVE-2021-43799 and was disclosed on January 25, 2022. The issue affected Zulip Server installations using RabbitMQ for internal message passing (GHSA Advisory).

Technical details

The vulnerability stems from RabbitMQ's default "cookie" which protects port 25672 being generated using a weak PRNG (Pseudorandom Number Generator). The entropy of the password was limited to at most 36 bits, but due to biased seed randomization, it effectively had only approximately 20 bits of entropy. The cookie was generated as a 20-character string using only capital letters, significantly reducing its security strength (GHSA Advisory, Zulip Commit).

Impact

If other firewalls (at the OS or network level) did not protect port 25672, a remote attacker could brute-force the 20 bits of entropy in the "cookie" and leverage it for arbitrary code execution as the rabbitmq user. Additionally, attackers could read all data transmitted through RabbitMQ, including all message traffic sent by users (GHSA Advisory).

Mitigation and workarounds

The issue was fixed in Zulip 4.9 by implementing a more secure cookie generation system. Workarounds include ensuring firewalls prevent access to port 25672 from outside the Zulip server, restarting the rabbitmq-server service, or stopping rabbitmq-server and generating a new secure Erlang magic cookie in /var/lib/rabbitmq/.erlang.cookie before restarting (GHSA Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

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