Skip to content
OpenAdvisories
High · 7.5 CVE-2025-23166 EUVD-2025-15702GHSA-rrjv-57mm-j6cm

The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background …

Published May 19, 2025 · Updated May 28, 2025 · Assigned by hackerone

Description

The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread, crashing the Node.js process. Such cryptographic operations are commonly applied to untrusted inputs. Thus, this mechanism potentially allows an adversary to remotely crash a Node.js runtime.

Affected products

VendorProductAffectedFixed
nodejs node 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.*, 15.0 – < 15.*, 16.0 – < 16.*, 17.0 – < 17.*, 18.0 – < 18.*, 19.0 – < 19.*, 20.0 – ≤ 20.19.1, 22.0 – ≤ 22.15.0, 23.0 – ≤ 23.11.0, 24.0 – ≤ 24.0.1, … 4.*

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs 20.19.2+dfsg-1 —
Debian 13 nodejs 20.19.2+dfsg-1 —
Debian 12 nodejs 18.20.4+dfsg-1~deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 nodejs +5 1:22.16.0-1.el10_0 RHSA-2025:8493
RHEL 10 nodejs-npm 1:10.9.2-1.22.16.0.1.el10_0 RHSA-2025:8493
RHEL 9 nodejs +3 1:20.19.2-1.module+el9.6.0+23146+be9976bd RHSA-2025:8468, RHSA-2025:8467
RHEL 9 nodejs-libs 1:22.16.0-1.module+el9.6.0+23151+b1496e9d RHSA-2025:8467
RHEL 9 nodejs-nodemon 3.0.1-1.module+el9.6.0+23062+9e7801b9 RHSA-2025:8468, RHSA-2025:8467
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.6.0+23062+9e7801b9 RHSA-2025:8468, RHSA-2025:8467
RHEL 9 npm 1:10.8.2-1.20.19.2.1.module+el9.6.0+23146+be9976bd RHSA-2025:8468, RHSA-2025:8467
RHEL 9 v8-12.4-devel 3:12.4.254.21-1.22.16.0.1.module+el9.6.0+23151+b1496e9d RHSA-2025:8467
RHEL 8 nodejs +3 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 RHSA-2025:8514, RHSA-2025:8506
RHEL 8 nodejs-libs 1:22.16.0-1.module+el8.10.0+23140+4056b950 RHSA-2025:8506
RHEL 8 nodejs-nodemon 3.0.1-1.module+el8.10.0+23139+21ba74c5 RHSA-2025:8514, RHSA-2025:8506
RHEL 8 nodejs-packaging +1 2021.06-4.module+el8.10.0+23139+21ba74c5 RHSA-2025:8514, RHSA-2025:8506
RHEL 8 npm 1:10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5 RHSA-2025:8514, RHSA-2025:8506
RHEL 8 v8-12.4-devel 3:12.4.254.21-1.22.16.0.1.module+el8.10.0+23140+4056b950 RHSA-2025:8506
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS nodejs +3 1:20.19.2-2.module+el9.4.0+23180+d266bac7 RHSA-2025:8902
RHEL 9.4 EUS nodejs-nodemon 3.0.1-1.module+el9.3.0.z+20478+84a9f781 RHSA-2025:8902
RHEL 9.4 EUS nodejs-packaging +1 2021.06-4.module+el9.3.0+19518+63aad52d RHSA-2025:8902
RHEL 9.4 EUS npm 1:10.8.2-1.20.19.2.2.module+el9.4.0+23180+d266bac7 RHSA-2025:8902

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 nodejs-docs 1:22.16.0-1.el10_0 ALSA-2025:8493
AlmaLinux 9 nodejs +3 1:20.19.2-1.module_el9.6.0+169+c9cb05c2 ALSA-2025:8468, ALSA-2025:8467
AlmaLinux 9 nodejs-libs 1:22.16.0-1.module_el9.6.0+170+f035de78 ALSA-2025:8467
AlmaLinux 9 nodejs-nodemon 3.0.1-1.module_el9.5.0+125+8dc38870 ALSA-2025:8468, ALSA-2025:8467
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.5.0+139+09296491 ALSA-2025:8468, ALSA-2025:8467
AlmaLinux 9 npm 1:10.8.2-1.20.19.2.1.module_el9.6.0+169+c9cb05c2 ALSA-2025:8468, ALSA-2025:8467
AlmaLinux 9 v8-12.4-devel 3:12.4.254.21-1.22.16.0.1.module_el9.6.0+170+f035de78 ALSA-2025:8467
AlmaLinux 8 nodejs +3 1:20.19.2-1.module_el8.10.0+4007+01f7d99b ALSA-2025:8514, ALSA-2025:8506
AlmaLinux 8 nodejs-libs 1:22.16.0-1.module_el8.10.0+4006+3c416519 ALSA-2025:8506
AlmaLinux 8 nodejs-nodemon 3.0.1-1.module_el8.10.0+3982+85c136aa ALSA-2025:8514, ALSA-2025:8506
AlmaLinux 8 nodejs-packaging 2021.06-4.module_el8.10.0+3987+dbda4426 ALSA-2025:8514, ALSA-2025:8506
AlmaLinux 8 nodejs-packaging-bundler 2021.06-4.module_el8.10.0+3958+472a6467 ALSA-2025:8514, ALSA-2025:8506
AlmaLinux 8 npm 1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99b ALSA-2025:8514, ALSA-2025:8506
AlmaLinux 8 v8-12.4-devel 3:12.4.254.21-1.22.16.0.1.module_el8.10.0+4006+3c416519 ALSA-2025:8506

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 nodejs22 1:22.16.0-1.el10_0 RLSA-2025:8493
Rocky Linux 9 nodejs 1:20.19.2-1.module+el9.6.0+32143+ae966e5b RLSA-2025:8468, RLSA-2025:8467
Rocky Linux 9 nodejs-nodemon 3.0.1-1.module+el9.5.0+31770+0da7192d RLSA-2025:8468, RLSA-2025:8467
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.5.0+31770+0da7192d RLSA-2025:8468, RLSA-2025:8467
Rocky Linux 8 nodejs 1:20.19.2-1.module+el8.10.0+1988+437f3d23 RLSA-2025:8514, RLSA-2025:8506
Rocky Linux 8 nodejs-nodemon 3.0.1-1.module+el8.9.0+1760+903d54b9 RLSA-2025:8514, RLSA-2025:8506
Rocky Linux 8 nodejs-packaging 2021.06-4.module+el8.9.0+1419+1f26ef47 RLSA-2025:8514, RLSA-2025:8506
ReleasePackageFixed inAdvisory
SLES 15 SP7 nodejs22 22.15.1-150700.3.3.1 SUSE-SU-2025:01879-1
SLES 15 SP6 nodejs20 20.19.2-150600.3.12.1 SUSE-SU-2025:02045-1
SLES 15 SP6 nodejs22 22.15.1-150600.13.9.1 SUSE-SU-2025:01878-1
SLES 15 SP5 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLES 15 SP5 nodejs20 20.19.2-150500.11.21.1 SUSE-SU-2025:02039-1
SLES 15 SP4 nodejs16 16.20.2-150400.3.42.1 SUSE-SU-2026:4355-1
SLES 15 SP4 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLES 12 SP5 nodejs18 18.20.8-8.44.1 SUSE-SU-2026:4248-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLES for SAP 15 SP5 nodejs20 20.19.2-150500.11.21.1 SUSE-SU-2025:02039-1
SLES for SAP 15 SP4 nodejs16 16.20.2-150400.3.42.1 SUSE-SU-2026:4355-1
SLES for SAP 15 SP4 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLE HPC 15 SP5 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLE HPC 15 SP5 nodejs20 20.19.2-150500.11.21.1 SUSE-SU-2025:02039-1
SLE HPC 15 SP4 nodejs16 16.20.2-150400.3.42.1 SUSE-SU-2026:4355-1
SLE HPC 15 SP4 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs22 22.15.1-1.1 openSUSE-SU-2025:15250-1
openSUSE Tumbleweed nodejs24 24.11.1-2.1 openSUSE-SU-2025:15802-1
openSUSE Tumbleweed nodejs26 26.3.1-1.1 openSUSE-SU-2026:11110-1
openSUSE Leap 15.6 nodejs20 20.19.2-150600.3.12.1 SUSE-SU-2025:02045-1
openSUSE Leap 15.6 nodejs22 22.15.1-150600.13.9.1 SUSE-SU-2025:01878-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 22.16.0-r0 —
Alpine v3.23 nodejs 22.16.0-r0 —
Alpine v3.22 nodejs 22.16.0-r0 —
Alpine v3.21 nodejs 22.15.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs20 +4 1:20.19.2-1.amzn2023.0.1 ALAS2023-2025-1010
Amazon Linux 2023 nodejs20-npm 1:10.8.2-1.20.19.2.1.amzn2023.0.1 ALAS2023-2025-1010
Amazon Linux 2023 nodejs22 +4 1:22.16.0-1.amzn2023.0.1 ALAS2023-2025-1009
Amazon Linux 2023 nodejs22-npm 1:10.9.2-1.22.16.0.1.amzn2023.0.1 ALAS2023-2025-1009
Amazon Linux 2023 v8-11.3-devel 3:11.3.244.8-1.20.19.2.1.amzn2023.0.1 ALAS2023-2025-1010
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.16.0.1.amzn2023.0.1 ALAS2023-2025-1009

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs 20.14.0-9 —
Azure Linux 2 (CBL-Mariner) nodejs18 18.20.3-8 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 nodejs +4 1:22.16.0-1.el10_0 ELSA-2025-8493
Oracle Linux 10 nodejs-npm 1:10.9.2-1.22.16.0.1.el10_0 ELSA-2025-8493
Oracle Linux 9 nodejs +3 1:20.19.2-1.module+el9.6.0+90603+e4b3d4d2 ELSA-2025-8468, ELSA-2025-8467
Oracle Linux 9 nodejs-libs 1:22.16.0-1.module+el9.6.0+90604+9071ea19 ELSA-2025-8467
Oracle Linux 9 nodejs-nodemon 3.0.1-1.module+el9.6.0+90588+1a9ecb62 ELSA-2025-8468, ELSA-2025-8467
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.6.0+90588+1a9ecb62 ELSA-2025-8468, ELSA-2025-8467
Oracle Linux 9 npm 1:10.8.2-1.20.19.2.1.module+el9.6.0+90603+e4b3d4d2 ELSA-2025-8468, ELSA-2025-8467
Oracle Linux 9 v8-12.4-devel 3:12.4.254.21-1.22.16.0.1.module+el9.6.0+90604+9071ea19 ELSA-2025-8467
Oracle Linux 8 nodejs +3 1:20.19.2-1.module+el8.10.0+90611+29f3ae1e ELSA-2025-8514, ELSA-2025-8506
Oracle Linux 8 nodejs-libs 1:22.16.0-1.module+el8.10.0+90605+76e4d41a ELSA-2025-8506
Oracle Linux 8 nodejs-nodemon 3.0.1-1.module+el8.10.0+90605+76e4d41a ELSA-2025-8514, ELSA-2025-8506
Oracle Linux 8 nodejs-packaging +1 2021.06-4.module+el8.10.0+90605+76e4d41a ELSA-2025-8514, ELSA-2025-8506
Oracle Linux 8 npm 1:10.8.2-1.20.19.2.1.module+el8.10.0+90611+29f3ae1e ELSA-2025-8514, ELSA-2025-8506
Oracle Linux 8 v8-12.4-devel 3:12.4.254.21-1.22.16.0.1.module+el8.10.0+90605+76e4d41a ELSA-2025-8506

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 16.20.2-r15 —
Wolfi rolling nodejs-18 No fix yet —
Wolfi rolling nodejs-21 21.7.3-r12 —

Advisories 35

References