Insufficient patch for Regular Expression Denial of Service (ReDoS) to jsx-slack v4.5.1
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| yhatt | jsx-slack | before 4.5.2 | 4.5.2 | Patch available | CNA |
| — | jsx-slack (npm) | before 4.5.2 | 4.5.2 | Patch available | GHSA-hp68-xhvj-x6j6 |
- jsx-slack Vendoryhatt Affected before 4.5.2 Fixed in 4.5.2 Patch available CNA
- jsx-slack (npm) Vendor— Affected before 4.5.2 Fixed in 4.5.2 Patch available GHSA-hp68-xhvj-x6j6
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jsx-slack_project:jsx-slack:*:*:*:*:*:node.js:*:* | before 4.5.2 | Vulnerable | Jsx-slack Project |
- cpe:2.3:a:jsx-slack_project:jsx-slack:*:*:*:*:*:node.js:*:* Versions before 4.5.2 Vulnerable ·Jsx-slack Project
Remediation
- Fix · CNA jsx-slack (yhatt) Fixed in 4.5.2
- Fix · GHSA-hp68-xhvj-x6j6 jsx-slack (npm) Fixed in 4.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43843
- 2026-10-03 Alias added: GHSA-hp68-xhvj-x6j6
References
Exploit 2
Advisory 2
More Jsx-slack Project Jsx-slack vulnerabilities
- TI-2021-19644 Regular Expression Denial of Service (ReDoS) in jsx-slack CVSS 3.1HIGH 7.5
Sources
- CVE-2021-43843 · CVE Program
- CVE-2021-43843 · NVD
- FIRST EPSS
- GHSA-hp68-xhvj-x6j6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences