Bug 2241149 (CVE-2023-43646) - CVE-2023-43646 get-func-name: ReDoS in chai module
Summary: CVE-2023-43646 get-func-name: ReDoS in chai module
Keywords:
Status: NEW
Alias: CVE-2023-43646
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2241150 2241151
Blocks: 2241152
TreeView+ depends on / blocked
 
Reported: 2023-09-28 09:18 UTC by TEJ RATHI
Modified: 2024-07-17 13:09 UTC (History)
34 users (show)

Fixed In Version: get-func-name 2.0.1
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:09:53 UTC

Description TEJ RATHI 2023-09-28 09:18:07 UTC
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.

https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05493f667c69
https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5

Comment 4 Chess Hazlett 2023-09-28 19:38:31 UTC
JDG-7 is in ELS-1 and OOSS for importants. Closing WONTFIX.

Comment 6 errata-xmlrpc 2024-07-17 13:09:50 UTC
This issue has been addressed in the following products:

  RHODF-4.16-RHEL-9

Via RHSA-2024:4591 https://access.redhat.com/errata/RHSA-2024:4591


Note You need to log in before you can comment on or make changes to this bug.