CVE-2021-43838
Description
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.
How to fix
- jsx-slack_project jsx-slack4.5.2 or later
- jsx-slack4.5.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jsx-slack_project jsx-slack | v < 4.5.2 | 4.5.2 |
| jsx-slacknpm | v < 4.5.1 | 4.5.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.