CVEvulnerability
CVE-2021-41115
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-10-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.0 MEDIUM — AV:N/AC:L/Au:S/C:N/I:N/A:P
- Weaknesses
- CWE-1333, CWE-400
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, or `main`.
Affected configurations
• zulip zulip (< 4.7)
Related
References
- https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781 Patch, Third Party Advisory
- https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jg Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/ Exploit, Third Party Advisory
- https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781 Patch, Third Party Advisory
- https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jg Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/ Exploit, Third Party Advisory