{"id":"EUVD-2021-2445","revision":null,"records":[{"revision":"00dbbc299b51493d8c6334473cd22d99","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-43838","aliases":[],"title":"Regular Expression Denial of Service (ReDoS) in jsx-slack","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.","state":0,"publishedAt":"2021-12-17T18:20:11+00:00","modifiedAt":"2024-08-04T04:10:16.268+00:00","affected":[{"ecosystem":"Vendor product","name":"jsx-slack","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"jsx-slack\",\n                    \"vendor\": \"yhatt\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 4.5.1\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q","https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-43838","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-43838","identifiers":["CVE-2021-43838"]},"retained":false,"historicalAffected":[]},{"revision":"4d31984f1015412ca79e171b0c20e984","observedAt":"2026-11-26T04:42:49.236+00:00","statement":{"source":"euvd","id":"EUVD-2021-2445","aliases":["CVE-2021-43838","GHSA-55xv-f85c-248q"],"title":"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…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":null}],"references":["https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q","https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2445","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 17, 2021, 6:20:11 PM","dateUpdated":"Aug 4, 2024, 4:10:16 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-2445","identifiers":["EUVD-2021-2445","CVE-2021-43838","GHSA-55xv-f85c-248q"]},"retained":false,"historicalAffected":[]},{"revision":"82c04ded5d0545a58243ada8f32b10b3","observedAt":"2026-10-24T19:17:31.277+00:00","statement":{"source":"nvd","id":"CVE-2021-43838","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2021-12-17T19:15:07.683+00:00","modifiedAt":"2026-06-17T04:11:32.663+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"severity":"MEDIUM"}],"references":["https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d","https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-43838","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-400","CWE-1333"],"productCriteria":["cpe:2.3:a:jsx-slack_project:jsx-slack:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2021-12-17T19:15:07.683","lastModified":"2026-06-17T04:11:32.663"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-43838","identifiers":["CVE-2021-43838"]},"retained":false,"historicalAffected":[]},{"revision":"6ceb91688805473db8d1cba0d542a2ae","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-55xv-f85c-248q","aliases":["CVE-2021-43838"],"title":"Regular Expression Denial of Service (ReDoS) in jsx-slack","description":"jsx-slack v4.5.1 and earlier versions are vulnerable to a regular expression denial-of-service (ReDoS) attack. \n\n### Impact\n\nIf 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.\n\n```javascript\n/** @jsxImportSource jsx-slack */\nimport { Section } from 'jsx-slack'\n\nconsole.log(\n  <Section>\n    <blockquote>\n      {[...Array(40)].map((_, i) => (\n        <p>{i + 1}</p>\n      ))}\n    </blockquote>\n  </Section>\n)\n```\n\n### Patches\n\n_See also: https://github.com/yhatt/jsx-slack/security/advisories/GHSA-hp68-xhvj-x6j6_\n\njsx-slack v4.5.2 has updated regular expressions to prevent catastrophic backtracking.\n\njsx-slack v4.5.1 also had patched a workaround. It has no problems to contents with ASCII characters, but _still vulnerable to contents with multibyte characters_. (https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d)\n\n### References\n\n- https://nvd.nist.gov/vuln/detail/CVE-2021-43838\n- https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d\n\n### Credits\n\nThanks to @hieki for finding out this vulnerability.","state":0,"publishedAt":"2021-12-17T19:59:02+00:00","modifiedAt":"2026-07-08T06:26:54.4697049+00:00","affected":[{"ecosystem":"npm","name":"jsx-slack","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.5.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q","https://nvd.nist.gov/vuln/detail/CVE-2021-43838","https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d","https://github.com/yhatt/jsx-slack"],"sourceUrl":"https://github.com/advisories/GHSA-55xv-f85c-248q","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-55xv-f85c-248q","identifiers":["GHSA-55xv-f85c-248q","CVE-2021-43838"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-26T17:16:26.9329444+00:00","complete":true,"records":1805,"lastAttemptAt":"2026-11-26T17:16:26.9329444+00:00","lastSuccessAt":"2026-11-26T17:16:27.1399525+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:27.139953+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6c06d3f6833d772c3de33e851d9e5d9e99615d8105cd679264137594221ef608-af224742e4227bbfda20a81e9916f0cf0af221ece838b323923b53f032e9f7ea","complete":true,"records":432926,"lastAttemptAt":"2026-11-26T17:16:26.3746397+00:00","lastSuccessAt":"2026-11-26T17:16:26.2081+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:26.3746397+00:00","snapshotPublishedAt":"2026-11-26T16:34:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-dcdb4b9ab3914d738bf8adb351292685","complete":false,"records":13940,"lastAttemptAt":"2026-11-26T17:19:11.374271+00:00","lastSuccessAt":"2026-11-26T17:19:11.366+00:00","error":"135 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-26T17:19:11.366+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13835,"expectedIdentifiers":13988,"failedIdentifiers":135},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-26T17:16:26.9329444+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-26T17:16:26.9329444+00:00","lastSuccessAt":"2026-11-26T17:16:27.1407119+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:27.140712+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6c3e9848d89941079e57c50f98ae7aea","complete":false,"records":13952,"lastAttemptAt":"2026-11-26T17:16:52.7927764+00:00","lastSuccessAt":"2026-11-26T17:16:52.789+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:52.789+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13490,"expectedIdentifiers":13988,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e56c3fe761407ec267ebd1a0c84aedc80ac3bdb205176e189d97dc2e8a05779b","complete":true,"records":10077,"lastAttemptAt":"2026-11-26T17:16:26.7662046+00:00","lastSuccessAt":"2026-11-26T11:17:21.3788523+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:26.7662046+00:00","snapshotPublishedAt":"2026-11-26T11:03:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-26T17:16:26.5582315+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:26.5582315+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-fffef56e2e70c77cb72f3bdafb9a1d8f09e5da49f03183f085255cda1efc5924","complete":true,"records":3223,"lastAttemptAt":"2026-11-26T17:16:26.8667055+00:00","lastSuccessAt":"2026-11-26T09:00:18.6655097+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:26.8667055+00:00","snapshotPublishedAt":"2026-11-26T08:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f3606dbbf0f42df09540d66e83d79af01f59b66902961194899d859b06f73de0","complete":true,"records":233161,"lastAttemptAt":"2026-11-26T17:16:26.66615+00:00","lastSuccessAt":"2026-11-26T14:14:41.1956983+00:00","error":null,"lastVerifiedAt":"2026-11-26T17:16:26.66615+00:00","snapshotPublishedAt":"2026-11-26T13:33:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}