Vulnerability Description
Zulip is an open source team chat server. In affected versions Zulip allows organization administrators on a server to configure "linkifiers" that automatically create links from messages that users send, detected via arbitrary regular expressions. Malicious organization administrators could subject the server to a denial-of-service via regular expression complexity attacks; most simply, by configuring a quadratic-time regular expression in a linkifier, and sending messages that exploited it. A regular expression attempted to parse the user-provided regexes to verify that they were safe from ReDoS -- this was both insufficient, as well as _itself_ subject to ReDoS if the organization administrator entered a sufficiently complex invalid regex. Affected users should [upgrade to the just-released Zulip 4.7](https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-to-a-release), or [`main`](https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-from-a-git-repository).
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zulip | Zulip | < 4.7 |
Related Weaknesses (CWE)
References
- https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781PatchThird Party Advisory
- https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jgPatchThird Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/ExploitThird Party Advisory
- https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781PatchThird Party Advisory
- https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jgPatchThird Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/ExploitThird Party Advisory
FAQ
What is CVE-2021-41115?
CVE-2021-41115 is a vulnerability with a CVSS score of 4.3 (MEDIUM). Zulip is an open source team chat server. In affected versions Zulip allows organization administrators on a server to configure "linkifiers" that automatically create links from messages that users s...
How severe is CVE-2021-41115?
CVE-2021-41115 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-41115?
Check the references section above for vendor advisories and patch information. Affected products include: Zulip Zulip.