{"id":"CVE-2021-41115","aliases":["CVE-2021-41115"],"related":[],"kind":"vulnerability","state":"published","title":"Regular expression denial-of-service in Zulip","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"Zulip es un servidor de chat de equipo de código abierto. En las versiones afectadas, Zulip permite a los administradores de la organización en un servidor configurar \"linkifiers\" que crean automáticamente enlaces a partir de los mensajes que envían los usuarios, detectados por medio de expresiones regulares arbitrarias. Los administradores de organizaciones maliciosos podían someter al servidor a una denegación de servicio por medio de ataques de complejidad de expresiones regulares; más sencillo, al configurar una expresión regular de tiempo cuadrático en un enlazador, y enviando mensajes que la explotaran. Una expresión regular intentaba analizar las expresiones regulares proporcionadas por el usuario para verificar que estaban a salvo de ReDoS - esto era insuficiente, así como _suficiente para someter al servidor a ReDoS si el administrador de la organización introducía una expresión regular no válida suficientemente compleja. Los usuarios afectados deberían [actualizar a la recién estrenada Zulip versión 4.7](https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-to-a-release), o [`main`](https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-from-a-git-repository)","source":"nvd"}],"published":"2021-10-07T22:20:13.000Z","modified":"2026-06-17T04:07:54.053Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","score":4,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"< 4.7","status":"affected"}],"vendor":"zulip","product":"zulip","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.7"}],"vendor":"zulip","product":"zulip","cpe":"cpe:2.3:a:zulip:zulip:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zulip/zulip/security/advisories/GHSA-4h36-mqfq-42jg","tags":["patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zulip/zulip/commit/e2d303c1bb5f538d17dc3d9134bc8858bdece781","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-118-zulip-zulip/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41115","url":"https://www.cve.org/CVERecord?id=CVE-2021-41115","licence":"CVE Terms of Use","modified":"2024-08-04T02:59:31.570Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41115","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41115","licence":"Public domain","modified":"2026-06-17T04:07:54.053Z"}],"updatedAt":"2026-11-25T22:58:04.379Z","epss":{"score":0.01737,"percentile":0.78376,"date":"2026-12-01T12:00:22.000Z"}}