Skip to content
OpenAdvisories
Unscored CVE-2023-38552 EUVD-2023-42351GHSA-x39v-frq9-5hh8

When the Node.js policy feature checks the integrity of a resource against a trusted manifest, the application can intercept the operation …

Published Oct 18, 2023 · Updated Nov 3, 2025 · Assigned by hackerone

Description

When the Node.js policy feature checks the integrity of a resource against a trusted manifest, the application can intercept the operation and return a forged checksum to the node's policy implementation, thus effectively disabling the integrity check.
Impacts:
This vulnerability affects all users using the experimental policy mechanism in all active release lines: 18.x and, 20.x.
Please note that at the time this CVE was issued, the policy mechanism is an experimental feature of Node.js.

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.18.2, 19.0 – < 19.*, 20.0 – < 20.8.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 18.13.0+dfsg1-1.1 —
Debian 13 nodejs 18.13.0+dfsg1-1.1 —
Debian 12 nodejs 18.19.0+dfsg-6~deb12u1 DSA-5589-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 nodejs +3 1:18.18.2-2.module+el9.2.0.z+20408+7cb5fda5 RHSA-2023:5849
RHEL 9 nodejs-nodemon 3.0.1-1.module+el9.2.0.z+19753+58118bc0 RHSA-2023:5849
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+15718+e52ec601 RHSA-2023:5849
RHEL 9 npm 1:9.8.1-1.18.18.2.2.module+el9.2.0.z+20408+7cb5fda5 RHSA-2023:5849
RHEL 8 nodejs +3 1:18.18.2-1.module+el8.8.0+20407+c11d40bd RHSA-2023:7205, RHSA-2023:5869
RHEL 8 nodejs-nodemon 3.0.1-1.module+el8.8.0+19757+8ca87034 RHSA-2023:7205, RHSA-2023:5869
RHEL 8 nodejs-packaging +1 2021.06-4.module+el8.7.0+15582+19c314fa RHSA-2023:7205, RHSA-2023:5869
RHEL 8 npm 1:9.8.1-1.18.18.2.1.module+el8.8.0+20407+c11d40bd RHSA-2023:7205, RHSA-2023:5869

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nodejs +3 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 ALSA-2023:5849
AlmaLinux 9 nodejs-nodemon 3.0.1-1.module_el9.2.0+36+853e48f5 ALSA-2023:5849
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2023:5849
AlmaLinux 9 npm 1:9.8.1-1.18.18.2.2.module_el9.2.0+43+3ebc9e20 ALSA-2023:5849
AlmaLinux 8 nodejs +3 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 ALSA-2023:7205, ALSA-2023:5869
AlmaLinux 8 nodejs-nodemon 3.0.1-1.module_el8.8.0+3613+1ed8c91d ALSA-2023:7205, ALSA-2023:5869
AlmaLinux 8 nodejs-packaging +1 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2023:7205, ALSA-2023:5869
AlmaLinux 8 npm 1:9.8.1-1.18.18.2.1.module_el8.8.0+3652+0e111ba0 ALSA-2023:7205, ALSA-2023:5869

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs-nodemon 3.0.1-1.module+el9.7.0+40017+f0db1785 RLSA-2023:5849
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.7.0+40017+f0db1785 RLSA-2023:5849
Rocky Linux 8 nodejs-nodemon 3.0.1-1.module+el8.8.0+1459+02651ab6 RLSA-2023:7205, RLSA-2023:5869
Rocky Linux 8 nodejs-packaging 2021.06-4.module+el8.7.0+1072+5b168780 RLSA-2023:7205, RLSA-2023:5869
ReleasePackageFixed inAdvisory
SLES 15 SP5 nodejs18 18.18.2-150400.9.15.1 SUSE-SU-2023:4133-1
SLES 15 SP4 nodejs16 16.20.2-150400.3.27.2 SUSE-SU-2023:4155-1
SLES 15 SP4 nodejs18 18.18.2-150400.9.15.1 SUSE-SU-2023:4133-1
SLES 15 SP3 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SLES 15 SP3 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SLES 15 SP3 nodejs16 16.20.2-150300.7.30.1 SUSE-SU-2023:4207-1
SLES 15 SP2 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SLES 15 SP2 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SLES 12 nodejs14 14.21.3-6.49.1 SUSE-SU-2023:4259-1
SLES 12 nodejs16 16.20.2-8.36.1 SUSE-SU-2023:4150-1
SLES 12 nodejs18 18.18.2-8.15.1 SUSE-SU-2023:4132-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SLES for SAP 15 SP3 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SLES for SAP 15 SP3 nodejs16 16.20.2-150300.7.30.1 SUSE-SU-2023:4207-1
SLES for SAP 15 SP2 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SLES for SAP 15 SP2 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SLE HPC 15 SP3 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SLE HPC 15 SP3 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SLE HPC 15 SP3 nodejs16 16.20.2-150300.7.30.1 SUSE-SU-2023:4207-1
SLE HPC 15 SP2 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SLE HPC 15 SP2 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SUSE Manager Server 4.2 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SUSE Manager Server 4.2 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SUSE Manager Server 4.2 nodejs16 16.20.2-150300.7.30.1 SUSE-SU-2023:4207-1
SUSE Enterprise Storage 7.1 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
SUSE Enterprise Storage 7.1 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
SUSE Enterprise Storage 7.1 nodejs16 16.20.2-150300.7.30.1 SUSE-SU-2023:4207-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs-electron 25.9.1-2.1 openSUSE-SU-2024:13340-1
openSUSE Tumbleweed nodejs20 20.8.1-1.1 openSUSE-SU-2024:13337-1
openSUSE Leap 15.4 nodejs12 12.22.12-150200.4.53.2 SUSE-SU-2023:4374-1
openSUSE Leap 15.4 nodejs14 14.21.3-150200.15.52.2 SUSE-SU-2023:4373-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 18.18.2-r0 —
Alpine v3.24 nodejs-current 20.8.1-r0 —
Alpine v3.23 nodejs 18.18.2-r0 —
Alpine v3.23 nodejs-current 20.8.1-r0 —
Alpine v3.22 nodejs 18.18.2-r0 —
Alpine v3.22 nodejs-current 20.8.1-r0 —
Alpine v3.21 nodejs 18.18.2-r0 —
Alpine v3.21 nodejs-current 20.8.1-r0 —
Alpine v3.20 nodejs 18.18.2-r0 —
Alpine v3.20 nodejs-current 20.8.1-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nodejs 18.18.2-r0 —
Alpine v3.19 nodejs-current 20.8.1-r0 —
Alpine v3.18 nodejs 18.18.2-r0 —
Alpine v3.18 nodejs-current 20.8.1-r0 —
Alpine v3.17 nodejs 18.18.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs +4 1:18.18.2-1.amzn2023.0.1 ALAS2023-2023-412
Amazon Linux 2023 nodejs-npm 1:9.8.1-1.18.18.2.1.amzn2023.0.1 ALAS2023-2023-412
Amazon Linux 2023 v8-10.2-devel 3:10.2.154.26-1.18.18.2.1.amzn2023.0.1 ALAS2023-2023-412

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) nodejs18 18.18.2-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nodejs +3 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf ELSA-2023-5849
Oracle Linux 9 nodejs-nodemon 3.0.1-1.module+el9.2.0+21169+1d24b6cc ELSA-2023-5849
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+20762+f52d7401 ELSA-2023-5849
Oracle Linux 9 npm 1:9.8.1-1.18.18.2.2.module+el9.2.0+21194+c0bbf6cf ELSA-2023-5849
Oracle Linux 8 nodejs +3 1:18.18.2-1.module+el8.8.0+21193+eb5c830b ELSA-2023-7205, ELSA-2023-5869
Oracle Linux 8 nodejs-nodemon 3.0.1-1.module+el8.8.0+21170+2efec6d4 ELSA-2023-7205, ELSA-2023-5869
Oracle Linux 8 nodejs-packaging +1 2021.06-4.module+el8.7.0+20766+0a247725 ELSA-2023-7205, ELSA-2023-5869
Oracle Linux 8 npm 1:9.8.1-1.18.18.2.1.module+el8.8.0+21193+eb5c830b ELSA-2023-7205, ELSA-2023-5869

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 No fix yet —
Wolfi rolling nodejs-18 18.18.2-r0 —

Advisories 31

References