Skip to main content
← All vulnerabilities
CVE-2021-43838GHSA-55XV-F85C-248Q

Regular Expression Denial of Service (ReDoS) in jsx-slack

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.1
None on Exploit-DB, Metasploit or GitHub

Summary

jsx-slack is a library for building JSON objects for Slack Block Kit surfaces from JSX. In versions prior to 4.5.1 users are vulnerable to a regular expression denial-of-service (ReDoS) attack. If attacker can put a lot of JSX elements into `<blockquote>` tag, an internal regular expression for escaping characters may consume an excessive amount of computing resources. jsx-slack v4.5.1 has patched to a regex for escaping blockquote characters. Users are advised to upgrade as soon as possible.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • yhatt jsx-slack

    fixed in 4.5.1

  • jsx-slacknpm

    fixed in 4.5.1

References 2

GitHub · yhatt/jsx-slack