cve.bz

CVE-2023-39333 nodejs node: Code Injection

5.3 mediumEPSS 1.1%

Medium (5.3) in nodejs node. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-39333 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-39333?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-39333?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-39333 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NodeJS Nodefrom 4.0 before 4.*
NodeJS Nodefrom 5.0 before 5.*
NodeJS Nodefrom 6.0 before 6.*
NodeJS Nodefrom 7.0 before 7.*
NodeJS Nodefrom 8.0 before 8.*
NodeJS Nodefrom 9.0 before 9.*
NodeJS Nodefrom 10.0 before 10.*
NodeJS Nodefrom 11.0 before 11.*
NodeJS Nodefrom 12.0 before 12.*
NodeJS Nodefrom 13.0 before 13.*
NodeJS Nodefrom 14.0 before 14.*
NodeJS Nodefrom 15.0 before 15.*
NodeJS Nodefrom 16.0 before 16.*
NodeJS Nodefrom 17.0 before 17.*
NodeJS Nodefrom 18.0 before 18.18.2
NodeJS Nodefrom 19.0 before 19.*
NodeJS Nodefrom 20.0 before 20.8.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nodejs18.19.0+dfsg-6~deb12u1DEBIAN-CVE-2023-39333 DSA-5589-1
Debian13, 14nodejs18.13.0+dfsg1-1.1DEBIAN-CVE-2023-39333
UbuntuPro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2023-39333
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.18.2-1.module+el8.8.0+20407+c11d40bdRHSA-2023:5869
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.8.1-1.module+el8.9.0+20473+c4e3d824RHSA-2023:7205
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.8.0+19757+8ca87034RHSA-2023:5869
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.9.0+20473+c4e3d824RHSA-2023:7205
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2023:5869
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.9.0+19519+e25b965aRHSA-2023:7205
Red Hatenterprise_linux:8::appstreamnpm1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824RHSA-2023:7205
Red Hatenterprise_linux:8::appstreamnpm1:9.8.1-1.18.18.2.1.module+el8.8.0+20407+c11d40bdRHSA-2023:5869
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.18.2-2.module+el9.2.0.z+20408+7cb5fda5RHSA-2023:5849
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.1-1.module+el9.2.0.z+19753+58118bc0RHSA-2023:5849
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2023:5849
Red Hatenterprise_linux:9::appstreamnpm1:9.8.1-1.18.18.2.2.module+el9.2.0.z+20408+7cb5fda5RHSA-2023:5849
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 morenodejs1616.20.2-150300.7.30.1SUSE-SU-2023:4207-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1616.20.2-8.36.1SUSE-SU-2023:4150-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1818.18.2-8.15.1SUSE-SU-2023:4132-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4nodejs1616.20.2-150400.3.27.2SUSE-SU-2023:4155-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4, Linux Enterprise Module for Web and Scripting 15 SP5nodejs1818.18.2-150400.9.15.1SUSE-SU-2023:4133-1
openSUSETumbleweednodejs-electron25.9.1-2.1openSUSE-SU-2024:13340-1
openSUSETumbleweednodejs2020.8.1-1.1openSUSE-SU-2024:13337-1
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:18.18.2-1.module_el8.8.0+3652+0e111ba0ALSA-2023:5869
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:20.8.1-1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5869
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:5869
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el8.9.0+3684+11b9e959ALSA-2023:7205
AlmaLinux8npm1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9ALSA-2023:7205
AlmaLinux8npm1:9.8.1-1.18.18.2.1.module_el8.8.0+3652+0e111ba0ALSA-2023:5869
AlmaLinux9nodejs, nodejs-docs, nodejs-devel and 1 more1:18.18.2-2.module_el9.2.0+43+3ebc9e20ALSA-2023:5849
AlmaLinux9nodejs-nodemon3.0.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5849
AlmaLinux9nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:5849
AlmaLinux9npm1:9.8.1-1.18.18.2.2.module_el9.2.0+43+3ebc9e20ALSA-2023:5849
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2023:5869
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2023:5869
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2023:5869
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.8.0+1459+02651ab6RLSA-2023:7205
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2023:5869
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.10.0+1824+532140eeRLSA-2023:5869
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.10.0+1988+437f3d23RLSA-2023:5869
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.10.0+1989+e60144d9RLSA-2023:5869
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2023:7205
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40017+f0db1785RLSA-2023:5849
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40018+a011993dRLSA-2023:5849
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40022+9ecc286cRLSA-2023:5849
4 more for Rocky Linux in the JSON.
Alpinev3.17, v3.18, v3.19 and 5 morenodejs18.18.2-r0ALPINE-CVE-2023-39333
Alpinev3.18, v3.19, v3.20 and 4 morenodejs-current20.8.1-r0ALPINE-CVE-2023-39333

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The inclusion of nodejs:20/nodejs commenced with RHEL-9.3 GA through RHEA-2023:6529 (https://access.redhat.com/errata/RHEA-2023:6529), which inherently incorporates the fix for CVE-2023-39333. Hence, Nodejs-20, as shipped with Red Hat Enterprise Linux 9, is not affected by this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:18-8080020231015215042.63b34585Fixed 2023-10-18RHSA-2023:5869
Red Hat Enterprise Linux 8nodejs:20-8090020231019152822.a75119d5Fixed 2023-11-14RHSA-2023:7205
Red Hat Enterprise Linux 9nodejs:18-9020020231015221156.rhel9Fixed 2023-10-18RHSA-2023:5849
Red Hat Enterprise Linux 8nodejs:16/nodejsFix deferred
Red Hat Enterprise Linux 9nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:20/nodejsNot affected
Red Hat Software Collectionsrh-nodejs14-nodejsFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-39333.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON