CVE-2021-43799: Zulip Server Vulnerability

CVE-2021-43799

NVD

Vulnerability Summary

Impact Zulip Server installs RabbitMQ for internal message passing. In all affected versions of Zulip Server, the initial installation (until first reboot, or restart of RabbitMQ) does not successfully limit the default ports which RabbitMQ opens; this includes port 25672, the RabbitMQ distribution port, which used for inter-node communication in clustered environments, as well as a local management port. RabbitMQ's default "cookie" which protects this port is generated using a weak PRNG, which limits the entropy of the password to at most 36 bits; in practicality, the seed for the randomizer is biased, resulting in approximately 20 bits of entropy. If other firewalls (at the OS or network level) do not protect port 25672, a remote attacker can brute-force the 20 bits of entropy in the "cookie" and leverage it for arbitrary execution of code as the rabbitmq user. They can also read all data which is sent through RabbitMQ, which includes all message traffic sent by users. Patches This issue is fixed in Zulip 4.9. Workarounds Any of the following, though we strongly suggest all: 1. Ensure that firewalls prevent access to port 25672 from outside the Zulip server 2. Restart the `rabbitmq-server` service 3. Stop `rabbitmq-server`, generate a new secure Erlang magic cookie in `/var/lib/rabbitmq/.erlang.cookie`, and restart `rabbitmq-server` References (Zulip Blog post) For more information If you have any questions or comments about this advisory, you can discuss them on the developer community Zulip server, or email the Zulip security team.
Severity Level
HIGH(8.6)
Published Date
Jan 25, 2022
Last Modified
Jan 25, 2022
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
Root Weakness (CWE)
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.
CVSS v3.1 Base Metrics — Score 8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Zulip Server < 4.9
Patched Versions
  • Zulip Server 4.9

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Zulip Server and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jan 25, 2022Published
  • Jan 25, 2022Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Zulip Server CVEsYou are reading CVE-2021-43799. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Sep 23, 2026 11:28 UTC