CVE-2021-43843

Insufficient patch for Regular Expression Denial of Service (ReDoS) to jsx-slack v4.5.1

HIGH
7.5
CVSS Score
Published: December 20, 2021 at 09:15 PM UTC
Updated: June 17, 2026 at 04:11 AM UTC
2 products affected across 2 vendorsJsx SlackSlack Project Jsx Slack

Using jsx-slack by yhatt?

Get instant alerts when new vulnerabilities affect jsx-slack - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%

Description

jsx-slack is a package for building JSON objects for Slack block kit surfaces from JSX. The maintainers found the patch for CVE-2021-43838 in jsx-slack v4.5.1 is insufficient tfor protection from a Regular Expression Denial of Service (ReDoS) attack. If an attacker can put a lot of JSX elements into `<blockquote>` tag _with including multibyte characters_, an internal regular expression for escaping characters may consume an excessive amount of computing resources. v4.5.1 passes the test against ASCII characters but misses the case of multibyte characters. jsx-slack v4.5.2 has updated regular expressions for escaping blockquote characters to prevent catastrophic backtracking. It is also including an updated test case to confirm rendering multiple tags in `<blockquote>` with multibyte characters.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.5.2
Affected range stops below 4.5.2, so it looks safe — our inference, not a vendor statement
v < 4.5.2
Affected range stops below 4.5.2, so it looks safe — our inference, not a vendor statement

References (4)

x_refsource_MISCRelease NotesThird Party Advisory
https://github.com/yhatt/jsx-slack/releases/tag/v4.5.2
x_refsource_CONFIRMx_refsource_MISCExploitPatchThird Party Advisory
https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400CWE-1333NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card