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.
Published: 2021-12-17
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-2445 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.
Github GHSA Github GHSA GHSA-55xv-f85c-248q Regular Expression Denial of Service (ReDoS) in jsx-slack
History

No history.

Subscriptions

Jsx-slack Project Jsx-slack
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-04T04:10:16.268Z

Reserved: 2021-11-16T00:00:00.000Z

Link: CVE-2021-43838

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-12-17T19:15:07.683

Modified: 2024-11-21T06:29:54.097

Link: CVE-2021-43838

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses