{"id":"EUVD-2023-2419","revision":null,"records":[{"revision":"1e5290df038944cab4b988486e6f6414","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-43646","aliases":[],"title":"Inefficient Regular Expression Complexity in get-func-name","description":"get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a regular expression denial of service (redos) vulnerability which may lead to a denial of service when parsing malicious input. This vulnerability can be exploited when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly. This vulnerability can be triggered using the following input: '\\t'.repeat(54773) + '\\t/function/i'. This issue has been addressed in commit `f934b228b` which has been included in releases from 2.0.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","state":0,"publishedAt":"2023-09-26T18:19:29.443+00:00","modifiedAt":"2024-09-24T17:26:54.512+00:00","affected":[{"ecosystem":"Vendor product","name":"get-func-name","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"chaijs\",\n                    \"product\": \"get-func-name\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.0.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","score":8.6,"severity":"HIGH"}],"references":["https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5","https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05493f667c69"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-43646","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-43646","identifiers":["CVE-2023-43646"]},"retained":false,"historicalAffected":[]},{"revision":"2bb85908c5ce41ab936be896385bd773","observedAt":"2026-11-21T02:48:31.311+00:00","statement":{"source":"euvd","id":"EUVD-2023-2419","aliases":["CVE-2023-43646","GHSA-4q6p-r6v2-jvc5"],"title":"get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a regular expression denial of service (redos) vulnerability which may lead to a denial…","description":"get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a regular expression denial of service (redos) vulnerability which may lead to a denial of service when parsing malicious input. This vulnerability can be exploited when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly. This vulnerability can be triggered using the following input: '\\t'.repeat(54773) + '\\t/function/i'. This issue has been addressed in commit `f934b228b` which has been included in releases from 2.0.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","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:C/C:N/I:N/A:H","score":8.6,"severity":null}],"references":["https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5","https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05493f667c69"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2419","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 26, 2023, 6:19:29 PM","dateUpdated":"Sep 24, 2024, 5:26:54 PM"},"relatedAdvisories":[{"id":"RHSA-2024:4591","title":"Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update","vulnerabilityIds":["CVE-2023-43646","CVE-2023-47108","CVE-2024-1394","CVE-2024-5042","CVE-2024-24783","CVE-2024-24785","CVE-2024-24786","CVE-2024-28176","CVE-2024-28180","CVE-2024-28863","CVE-2024-37890"]},{"id":"RHSA-2024:1383","title":"Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & bug fix update","vulnerabilityIds":["CVE-2021-35937","CVE-2021-35938","CVE-2021-35939","CVE-2023-3462","CVE-2023-5363","CVE-2023-5954","CVE-2023-5981","CVE-2023-7104","CVE-2023-24532","CVE-2023-26159","CVE-2023-27043","CVE-2023-28486","CVE-2023-28487","CVE-2023-29406","CVE-2023-29409","CVE-2023-39318","CVE-2023-39319","CVE-2023-39321","CVE-2023-39322","CVE-2023-39615","CVE-2023-42282","CVE-2023-42465","CVE-2023-43646","CVE-2023-43804","CVE-2023-45803","CVE-2023-46218","CVE-2023-48631","CVE-2023-48795","CVE-2023-51385","CVE-2024-0553","CVE-2024-0567"]}],"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-2023-2419","identifiers":["EUVD-2023-2419","CVE-2023-43646","GHSA-4q6p-r6v2-jvc5"]},"retained":false,"historicalAffected":[]},{"revision":"b6d2267eca8542d894672d2803cd8fc1","observedAt":"2026-10-24T22:17:27.792+00:00","statement":{"source":"nvd","id":"CVE-2023-43646","aliases":[],"title":"get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a regular expression denial of service (redos) vulnerability which may lead to a denial…","description":"get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a regular expression denial of service (redos) vulnerability which may lead to a denial of service when parsing malicious input. This vulnerability can be exploited when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly. This vulnerability can be triggered using the following input: '\\t'.repeat(54773) + '\\t/function/i'. This issue has been addressed in commit `f934b228b` which has been included in releases from 2.0.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","state":0,"publishedAt":"2023-09-27T15:19:34.427+00:00","modifiedAt":"2026-06-17T06:26:08.773+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:C/C:N/I:N/A:H","score":8.6,"severity":"HIGH"},{"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"}],"references":["https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05493f667c69","https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-43646","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-400","CWE-1333"],"productCriteria":["cpe:2.3:a:chaijs:get-func-name:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2023-09-27T15:19:34.427","lastModified":"2026-06-17T06:26:08.773"},"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-2023-43646","identifiers":["CVE-2023-43646"]},"retained":false,"historicalAffected":[]},{"revision":"d379a37af39f451ebc5f49b381974fb9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-4q6p-r6v2-jvc5","aliases":["CVE-2023-43646"],"title":"Chaijs/get-func-name vulnerable to ReDoS","description":"The current regex implementation for parsing values in the module is susceptible to excessive backtracking, leading to potential DoS attacks. The regex implementation in question is as follows:\n\n```js\nconst functionNameMatch = /\\s*function(?:\\s|\\s*\\/\\*[^(?:*/)]+\\*\\/\\s*)*([^\\s(/]+)/;\n```\n\nThis vulnerability can be exploited when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly. This vulnerability can be triggered using the following input:\n\n```js\n'\\t'.repeat(54773) + '\\t/function/i'\n```\n\nHere is a simple PoC code to demonstrate the issue:\n\n```js\nconst protocolre = /\\sfunction(?:\\s|\\s/*[^(?:*\\/)]+*/\\s*)*([^\\(\\/]+)/;\n\nconst startTime = Date.now();\nconst maliciousInput = '\\t'.repeat(54773) + '\\t/function/i'\n\nprotocolre.test(maliciousInput);\n\nconst endTime = Date.now();\n\nconsole.log(\"process time: \", endTime - startTime, \"ms\");\n```","state":0,"publishedAt":"2023-09-27T20:16:00+00:00","modifiedAt":"2026-08-07T08:12:08.9688405+00:00","affected":[{"ecosystem":"npm","name":"get-func-name","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.0.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5","https://nvd.nist.gov/vuln/detail/CVE-2023-43646","https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05493f667c69","https://github.com/chaijs/get-func-name","https://github.com/chaijs/get-func-name/blob/78ad756441a83f3dc203e50f76c113ae3ac017dc/index.js#L15"],"sourceUrl":"https://github.com/advisories/GHSA-4q6p-r6v2-jvc5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4q6p-r6v2-jvc5","identifiers":["GHSA-4q6p-r6v2-jvc5","CVE-2023-43646"]},"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-22T16:25:55.0701968+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T16:25:55.0701968+00:00","lastSuccessAt":"2026-11-22T16:25:55.2486505+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.2486514+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-a00cc431548e20f01f2da20f449eca4a9c3c2d80f0a99ee8150099224d339982-f889044d5952ca2c043a3f79edce0c851043d7aa07652c964a93712ef2aae335","complete":true,"records":430476,"lastAttemptAt":"2026-11-22T16:25:40.279669+00:00","lastSuccessAt":"2026-11-22T16:25:40.2330056+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.279669+00:00","snapshotPublishedAt":"2026-11-22T16:24:23+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-82e2c24a4f614937853e600b1d5b95b9","complete":false,"records":13928,"lastAttemptAt":"2026-11-22T16:28:09.6714324+00:00","lastSuccessAt":"2026-11-22T16:28:09.667+00:00","error":"31 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-22T16:28:09.667+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13944,"expectedIdentifiers":13976,"failedIdentifiers":31},{"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-22T16:25:55.0701968+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T16:25:55.0701968+00:00","lastSuccessAt":"2026-11-22T16:25:55.2495262+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.2495265+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-b418bc3a0a804db68d2746e614753140","complete":false,"records":13940,"lastAttemptAt":"2026-11-22T16:26:20.8835169+00:00","lastSuccessAt":"2026-11-22T16:26:20.879+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:26:20.879+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13976,"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-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T16:25:54.9004528+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:54.9004528+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+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-22T16:25:40.4282716+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.4282716+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-bee95050556198fd967bb73ce720a9ae414cd84a3b278a529e0def1a55b70f2d","complete":true,"records":3214,"lastAttemptAt":"2026-11-22T16:25:55.0134385+00:00","lastSuccessAt":"2026-11-22T11:25:37.2279658+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.0134385+00:00","snapshotPublishedAt":"2026-11-22T10:03: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-93f8bde17692d302a32a561f6a40a941db24e5e5c3d8083eda975620fb7a4483","complete":true,"records":232857,"lastAttemptAt":"2026-11-22T16:25:40.5269788+00:00","lastSuccessAt":"2026-11-22T08:27:07.8116265+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.5269788+00:00","snapshotPublishedAt":"2026-11-22T07:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}