CVE-2021-43838

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductJsx-slack
PublishedDec 17, 2021
First seenDec 17, 2021

How to fix

Update
  • jsx-slack_project jsx-slack4.5.2 or later
  • jsx-slack4.5.1 or later

Affected products

ProductAffected versionsFixed in
jsx-slack_project jsx-slackv < 4.5.24.5.2
jsx-slacknpmv < 4.5.14.5.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.