CVE-2021-41115

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).
Configurations

Configuration 1 (hide)

cpe:2.3:a:zulip:zulip:*:*:*:*:*:*:*:*

History

17 Jul 2023, 15:18

Type Values Removed Values Added
CWE CWE-400
CWE-697
CWE-1333

10 Sep 2022, 02:38

Type Values Removed Values Added
CWE NVD-CWE-Other CWE-697
CWE-400

15 Oct 2021, 18:31

Type Values Removed Values Added
CPE cpe:2.3:a:zulip:zulip:*:*:*:*:*:*:*:*
CWE CWE-400 NVD-CWE-Other
CVSS v2 : unknown
v3 : 4.3
v2 : 4.0
v3 : 6.5
References (MISC) https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781 - (MISC) https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jg - (CONFIRM) https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jg - Patch, Third Party Advisory
References (MISC) https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/ - (MISC) https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/ - Exploit, Third Party Advisory

07 Oct 2021, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-10-07 23:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-41115

Mitre link : CVE-2021-41115

CVE.ORG link : CVE-2021-41115


JSON object : View

Products Affected

zulip

  • zulip
CWE
CWE-1333

Inefficient Regular Expression Complexity

CWE-400

Uncontrolled Resource Consumption