Vulnerability · Published Sep 7, 2024 · Assigned by hackerone

CVE-2023-39333

Medium 5.3

In plain English

A medium-severity code injection in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.1%top 34.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Maliciously crafted export names in an imported WebAssembly module can inject JavaScript code. The injected code may be able to access data and functions that the WebAssembly module itself does not have access to, similar to as if the WebAssembly module was a JavaScript module. This vulnerability affects users of any active release line of Node.js. The vulnerable feature is only available if Node.js is started with the `--experimental-wasm-modules` command line option.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:18.18.2-1.module_el8.8.0+3652+0e111ba0ALSA-2023:5869
AlmaLinux:8nodejs1:20.8.1-1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux:9nodejs1:18.18.2-2.module_el9.2.0+43+3ebc9e20ALSA-2023:5849
AlmaLinux:8nodejs-devel1:20.8.1-1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux:8nodejs-devel1:18.18.2-1.module_el8.8.0+3652+0e111ba0ALSA-2023:5869
AlmaLinux:9nodejs-devel1:18.18.2-2.module_el9.2.0+43+3ebc9e20ALSA-2023:5849
AlmaLinux:8nodejs-docs1:20.8.1-1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux:8nodejs-docs1:18.18.2-1.module_el8.8.0+3652+0e111ba0ALSA-2023:5869
AlmaLinux:9nodejs-docs1:18.18.2-2.module_el9.2.0+43+3ebc9e20ALSA-2023:5849
AlmaLinux:8nodejs-full-i18n1:18.18.2-1.module_el8.8.0+3652+0e111ba0ALSA-2023:5869
AlmaLinux:8nodejs-full-i18n1:20.8.1-1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux:9nodejs-full-i18n1:18.18.2-2.module_el9.2.0+43+3ebc9e20ALSA-2023:5849
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5869
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux:9nodejs-nodemon3.0.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5849
AlmaLinux:8nodejs-packaging2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:5869
AlmaLinux:8nodejs-packaging2021.06-4.module_el8.9.0+3684+11b9e959ALSA-2023:7205
AlmaLinux:9nodejs-packaging2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:5849
AlmaLinux:8nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:5869
AlmaLinux:8nodejs-packaging-bundler2021.06-4.module_el8.9.0+3684+11b9e959ALSA-2023:7205
AlmaLinux:9nodejs-packaging-bundler2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:5849
AlmaLinux:8npm1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux:8npm1:9.8.1-1.18.18.2.1.module_el8.8.0+3652+0e111ba0ALSA-2023:5869
AlmaLinux:9npm1:9.8.1-1.18.18.2.2.module_el9.2.0+43+3ebc9e20ALSA-2023:5849
Alpine:v3.20nodejs18.18.2-r0ALPINE-CVE-2023-39333
Alpine:v3.21nodejs18.18.2-r0ALPINE-CVE-2023-39333
Alpine:v3.22nodejs18.18.2-r0ALPINE-CVE-2023-39333
Alpine:v3.23nodejs18.18.2-r0ALPINE-CVE-2023-39333
Alpine:v3.24nodejs18.18.2-r0ALPINE-CVE-2023-39333
Alpine:v3.20nodejs-current20.8.1-r0ALPINE-CVE-2023-39333
Alpine:v3.21nodejs-current20.8.1-r0ALPINE-CVE-2023-39333
Alpine:v3.22nodejs-current20.8.1-r0ALPINE-CVE-2023-39333
Alpine:v3.23nodejs-current20.8.1-r0ALPINE-CVE-2023-39333
Alpine:v3.24nodejs-current20.8.1-r0ALPINE-CVE-2023-39333
Debian:12nodejs18.19.0+dfsg-6~deb12u1DSA-5589-1
Debian:12nodejs18.19.0+dfsg-6~deb12u1DEBIAN-CVE-2023-39333
Debian:13nodejs18.13.0+dfsg1-1.1DEBIAN-CVE-2023-39333
Debian:14nodejs18.13.0+dfsg1-1.1DEBIAN-CVE-2023-39333
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2023:5869
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2023:5869
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2023:5869
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.8.0+1459+02651ab6RLSA-2023:7205
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2023:5869
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40017+f0db1785RLSA-2023:5849
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40022+9ecc286cRLSA-2023:5849
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40018+a011993dRLSA-2023:5849
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2023:7205
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1989+e60144d9RLSA-2023:5869
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1824+532140eeRLSA-2023:5869
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1988+437f3d23RLSA-2023:5869
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.7.0+40018+a011993dRLSA-2023:5849
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.7.0+40022+9ecc286cRLSA-2023:5849
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.7.0+40025+0e0cf6b2RLSA-2023:5849
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.7.0+40017+f0db1785RLSA-2023:5849

Affected products (as reported)

VendorProductVersions
NodeJS Node 4.0 – before 4.*5.0 – before 5.*6.0 – before 6.*7.0 – before 7.*8.0 – before 8.*9.0 – before 9.*10.0 – before 10.*11.0 – before 11.*

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References