CVE-2021-41115: GHSL-2021-118: ReDoS (Regular Expression Denial of Service) in Zulip - CVE-2021-41115

Published Oct 7, 2021
·
Updated

Zulip contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service).

Other sources

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.

— MITRE

Affected Software

1 affected component
Zulip zulip<4.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade zulip to a version that resolves this vulnerability.

    Fixed in 4.7
  2. Upgrade

    Upgrade zulip to a version that resolves this vulnerability.

    Patch GHSL-2021-118

Event History

Oct 7, 2021
CVE Published
via MITRE·10:20 PM
Data Sourced
via MITRE·10:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 8, 2021
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2021-41115?

CVE-2021-41115 is a vulnerability in Zulip, an open-source team chat server, that allows malicious organization administrators to create harmful links from users' messages.

2

How does CVE-2021-41115 impact Zulip?

CVE-2021-41115 allows organization administrators in Zulip to configure linkifiers that can create links from messages using regular expressions, which can be exploited by malicious administrators.

3

What is the severity rating of CVE-2021-41115?

CVE-2021-41115 has a severity rating of medium with a CVSS score of 6.5.

4

How can I fix CVE-2021-41115?

To fix CVE-2021-41115, it is recommended to update Zulip to a version that includes the fix provided by the Zulip team.

5

Are there any references for CVE-2021-41115?

Yes, you can find references for CVE-2021-41115 at the following links: [Reference 1](https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781), [Reference 2](https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jg), [Reference 3](https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203