Read the docs
TI-2023-23372 Aliases CVE-2023-43646GHSA-4q6p-r6v2-jvc5

Inefficient Regular Expression Complexity in get-func-name

Priority HIGH 76CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 fixed, 4 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01383 72nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial get-func-name (chaijs): 2.0.1get-func-name (npm): 2.0.1Red Hat: 2 advisoriesRed Hat: 2 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
chaijsget-func-namebefore 2.0.12.0.1Patch availableCNA
—get-func-name (npm)before 2.0.12.0.1Patch availableGHSA-4q6p-r6v2-jvc5
  • get-func-name Vendorchaijs Affected before 2.0.1 Fixed in 2.0.1 Patch available CNA
  • get-func-name (npm) Vendor— Affected before 2.0.1 Fixed in 2.0.1 Patch available GHSA-4q6p-r6v2-jvc5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:chaijs:get-func-name:*:*:*:*:*:node.js:*:*before 2.0.1Vulnerablechaijs
  • cpe:2.3:a:chaijs:get-func-name:*:*:*:*:*:node.js:*:* Versions before 2.0.1 Vulnerable ·chaijs

Remediation

  • Fix · CNA get-func-name (chaijs) Fixed in 2.0.1
  • Fix · GHSA-4q6p-r6v2-jvc5 get-func-name (npm) Fixed in 2.0.1 Advisory →

Red Hat 2 advisories

  • RHSA-2024:4591 Released 2024-07-17 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update
    • RHODF 4.16 for RHEL 9 odf4/cephcsi-rhel9, odf4/mcg-core-rhel9, odf4/mcg-operator-bundle +8
  • RHSA-2024:1383 Released 2024-03-19 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & bug fix update
    • RHODF 4.15 for RHEL 9 odf4/cephcsi-rhel9, odf4/mcg-core-rhel9, odf4/mcg-operator-bundle +23

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 2AffectedNo fix yet
Red Hat JBoss Data Grid 7AffectedNo fix planned: Out of support scope
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Red Hat OpenShift Dev SpacesAffectedNo fix yet
RHODF 4.15 for RHEL 9Fixed RHSA-2024:1383
RHODF 4.16 for RHEL 9Fixed RHSA-2024:4591
Not affected: 4 products
  • RHODF 4.15 for RHEL 9
  • RHODF 4.16 for RHEL 9
  • Red Hat Enterprise Linux 8
  • Red Hat JBoss Enterprise Application Platform 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-43646
  2. 2026-10-03 Alias added: GHSA-4q6p-r6v2-jvc5

References

Sources