Skip to content

CVE-2021-41115 Regular expression denial-of-service in Zulip

MediumCVSS 6.5 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
zulip < 4.7; = < 4.7 4.7 Fixed

Affected products

ProductAffected versionsFixed in
zulip < 4.7 4.7
zulip = < 4.7 No fix listed

References