node-get-func-name: CVE-2023-43646

Related Vulnerabilities: CVE-2023-43646  

Debian Bug report logs - #1053262
node-get-func-name: CVE-2023-43646

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Sat, 30 Sep 2023 09:21:02 UTC

Severity: important

Tags: pending, security, upstream

Found in version node-get-func-name/2.0.0+dfsg-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#1053262; Package src:node-get-func-name. (Sat, 30 Sep 2023 09:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Sat, 30 Sep 2023 09:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: node-get-func-name: CVE-2023-43646
Date: Sat, 30 Sep 2023 11:17:28 +0200
Source: node-get-func-name
Version: 2.0.0+dfsg-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for node-get-func-name.

CVE-2023-43646[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2023-43646
    https://www.cve.org/CVERecord?id=CVE-2023-43646
[1] https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5
[2] https://github.com/chaijs/get-func-name/commit/f934b228b5e2cb94d6c8576d3aac05493f667c69

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Message sent on to Salvatore Bonaccorso <carnil@debian.org>:
Bug#1053262. (Sat, 30 Sep 2023 17:06:07 GMT) (full text, mbox, link).


Message #8 received at 1053262-submitter@bugs.debian.org (full text, mbox, reply):

From: Yadd <noreply@salsa.debian.org>
To: 1053262-submitter@bugs.debian.org
Subject: Bug#1053262 marked as pending in node-get-func-name
Date: Sat, 30 Sep 2023 17:03:07 +0000
Control: tag -1 pending

Hello,

Bug #1053262 in node-get-func-name reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-get-func-name/-/commit/cbfc46c9c627427f4422049dabcd5f5eaf51595e

------------------------------------------------------------------------
New upstream version (Closes: #1053262, CVE-2023-43646)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1053262



Added tag(s) pending. Request was from Yadd <noreply@salsa.debian.org> to 1053262-submitter@bugs.debian.org. (Sat, 30 Sep 2023 17:06:07 GMT) (full text, mbox, link).


Message sent on to Salvatore Bonaccorso <carnil@debian.org>:
Bug#1053262. (Sat, 30 Sep 2023 17:06:09 GMT) (full text, mbox, link).


Message #13 received at 1053262-submitter@bugs.debian.org (full text, mbox, reply):

From: Yadd <noreply@salsa.debian.org>
To: 1053262-submitter@bugs.debian.org
Subject: Bug#1053262 marked as pending in node-get-func-name
Date: Sat, 30 Sep 2023 17:03:08 +0000
Control: tag -1 pending

Hello,

Bug #1053262 in node-get-func-name reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-get-func-name/-/commit/cbfc46c9c627427f4422049dabcd5f5eaf51595e

------------------------------------------------------------------------
New upstream version (Closes: #1053262, CVE-2023-43646)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1053262



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Sep 30 17:53:26 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.