Skip to content
Heist/ feed
Back to feed
HighFix available

node-get-func-name — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
node-get-func-name
Affected versions
2.0.0+dfsg-2, 2.0.2-1
Fixed versions
2.0.2-1
CVEs
CVE-2023-43646
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:50 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-43646

core-osv · Original source

Published 27 Sept 2023, 15:19 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.

osv:DEBIAN-CVE-2023-43646

node-get-func-name

Fixed versions: Not specified

node-get-func-name

Fixed versions: 2.0.2-1

node-get-func-name

Fixed versions: 2.0.2-1

Complete source record
{
  "id": "adf12fe57a352fa7ca2bdf925617dc85ba698cf352d3b9ae6087bbc88f0a46b1",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-43646",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-43646",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2023-43646",
    "products": [
      {
        "name": {
          "value": "node-get-func-name",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.0+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.0.2-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-get-func-name",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.2-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "node-get-func-name",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.2-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-43646",
      "aliases": [
        "DEBIAN-CVE-2023-43646"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-get-func-name",
            "purl": "pkg:deb/debian/node-get-func-name?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.0.0+dfsg-2",
            "2.0.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-43646.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-get-func-name",
            "purl": "pkg:deb/debian/node-get-func-name?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-43646.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-get-func-name",
            "purl": "pkg:deb/debian/node-get-func-name?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-43646.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:06.073036855Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-43646"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-43646"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-43646",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 455852,
  "published_at": "2023-09-27T15:19:34.427+00:00"
}