High severity · published Dec 17, 2021
CVE-2021-43838
jsx-slack is a library for building JSON objects for Slack Block Kit surfaces from JSX
7.5
CVSS
1.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 73% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JS
Jsx-slack · Jsx-slack Project
before 4.5.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-43838
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-43838
Patch
https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d
Exploit
https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q
More from Jsx-slack
7.5
CVE-2021-43843
jsx-slack is a package for building JSON objects for Slack block kit surfaces from JSX
