Skip to main content
Public proof of conceptFix available

CVE-2023-43646

A public proof of concept exists; no exploitation attested.

  • Published2023-09-27
  • Fixed in2.0.1
  • WeaknessCWE-1333 · CWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-09-2715:19CVE publishedNVD

Versions per branch

NVD · OSV
Chaijs get-func-name
BranchAffectedFixed in
2.0< 2.0.12.0.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • chaijs get-func-name
    Affected
    • = < 2.0.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-09-26

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • node-get-func-nameUbuntu:20.04:LTSall versions · no fixed version listed
  • node-get-func-nameUbuntu:18.04:LTSall versions · no fixed version listed
  • node-get-func-nameDebian:14all versions · fixed in 2.0.2-1
  • node-get-func-nameDebian:13all versions · fixed in 2.0.2-1
  • node-get-func-nameDebian:12all versions · no fixed version listed
  • qt6-webengineUbuntu:26.10all versions · no fixed version listedand 1 other package
  • qt6-webengineUbuntu:26.04:LTSall versions · no fixed version listedand 1 other package
  • qt6-webengineUbuntu:25.10all versions · no fixed version listedand 1 other package

2 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-43646 Red Hat Product Security6 products fixed · 4 known affected

    get-func-name: ReDoS in chai module

    openshift-service-mesh/kiali-rhel8 as a component of OpenShift Service Mesh 2 · get-func-name as a component of Red Hat JBoss Data Grid 7 · openshift4/ose-console as a component of Red Hat OpenShift Container Platform 4 · +1 more

  • RHSA-2024:4591 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update

  • RHSA-2024:1383 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & bug fix update

Full record on NVD

Fix

  1. Update Chaijs get-func-name to 2.0.1
  2. Vendor fix Red Hat Product Security RHSA-2024:4591 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. No fix available, says the vendor Red Hat Product Security CVE-2023-43646 · 2 productsAffected
  4. No fix planned, says the vendor Red Hat Product Security CVE-2023-43646 · 1 productOut of support scope
  5. No fix planned, says the vendor Red Hat Product Security CVE-2023-43646 · 1 productWill not fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-09-24
  • CNACVSS 3.18.6known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-1333, CWE-400known since 2026-10-23
  • FIRST EPSSEPSS score1.4 %2026-11-18
  • PoC-in-GitHubproof of concept1known since 2026-11-01
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2023-09-27

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-09-27
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-4q6p-r6v2-jvc5

Frequently asked questions

What is CVE-2023-43646?

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.

Is CVE-2023-43646 actively exploited?

A proof-of-concept exploit exists for CVE-2023-43646, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-43646?

CVE-2023-43646 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running get-func-name? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record