CVE-2021-43843 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yhatt/jsx-slack/commit/46bc88391d89d5fda4ce689e18ca080bcdd29ecc | CVE | PatchThird Party Advisory |
| https://github.com/yhatt/jsx-slack/releases/tag/v4.5.2 | CVE | Release NotesThird Party Advisory |
| https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q | CVE | ExploitPatchThird Party Advisory |
| https://github.com/yhatt/jsx-slack/security/advisories/GHSA-hp68-xhvj-x6j6 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/yhatt/jsx-slack/commit/46bc88391d89d5fda4ce689e18ca080bcdd29ecc | [email protected] | PatchThird Party Advisory |
| https://github.com/yhatt/jsx-slack/releases/tag/v4.5.2 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/yhatt/jsx-slack/security/advisories/GHSA-hp68-xhvj-x6j6 | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jsx-slack project jsx-slack | < 4.5.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 9, 2022 | Reanalysis | [email protected] |
| Jan 3, 2022 | Initial Analysis | [email protected] |