CVEfocus › CVE database › CVE-2023-43646

CVE-2023-43646Inefficient Regular Expression Complexity in get-func-name

CVSS 8.6 HighEPSS 1.2% (higher than 68% of CVEs)Published 2023-09-26Updated 2024-09-24Assigner: GitHub_M

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.

CWE-1333CWE-400

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
6Under investigation
7Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-get-func-nameFix pendingUBUNTU-CVE-2023-43646
Ubuntu 26.10qt6-webengineFix pendingUBUNTU-CVE-2023-43646
Ubuntu 26.04chromium-browserNot affected
vulnerable_code_not_present
Ubuntu 26.04node-get-func-nameUnder investigationUBUNTU-CVE-2023-43646
Ubuntu 26.04qt6-webengineUnder investigationUBUNTU-CVE-2023-43646
Ubuntu 25.10chromium-browserNot affected
vulnerable_code_not_present
Ubuntu 25.10node-get-func-nameWill not fix
The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that…
UBUNTU-CVE-2023-43646
Ubuntu 25.10qt6-webengineWill not fix
The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that…
UBUNTU-CVE-2023-43646
Ubuntu 24.04chromium-browserNot affected
vulnerable_code_not_present
Ubuntu 24.04node-get-func-nameUnder investigationUBUNTU-CVE-2023-43646
Ubuntu 24.04qt6-webengineUnder investigationUBUNTU-CVE-2023-43646
Ubuntu 22.04chromium-browserNot affected
vulnerable_code_not_present
Ubuntu 22.04node-get-func-nameUnder investigationUBUNTU-CVE-2023-43646
Ubuntu 22.04qt6-webengineUnder investigationUBUNTU-CVE-2023-43646
Ubuntu 20.04chromium-browserNot affected
vulnerable_code_not_present
Ubuntu 20.04node-get-func-nameWill not fix
The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that…
UBUNTU-CVE-2023-43646
Ubuntu 18.04chromium-browserWill not fix
The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that…
Ubuntu 18.04node-get-func-nameWill not fix
The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that…
UBUNTU-CVE-2023-43646
Ubuntu 16.04chromium-browserWill not fix
The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that…
Ubuntu 14.04chromium-browserWill not fix
The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that…
Debian 14node-get-func-nameFixed2.0.2-1DEBIAN-CVE-2023-43646
Debian 13node-get-func-nameFixed2.0.2-1DEBIAN-CVE-2023-43646
Debian 12node-get-func-nameFix pendingDEBIAN-CVE-2023-43646
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
npm libraryget-func-nameFixed2.0.1GHSA-4q6p-r6v2-jvc5

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.