Name | CVE-2023-39333 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5589-1 |
Debian Bugs | 1054892 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
nodejs (PTS) | jessie | 0.10.29~dfsg-2 | vulnerable |
| stretch | 4.8.2~dfsg-1 | vulnerable |
| buster (security), buster, buster (lts) | 10.24.0~dfsg-1~deb10u4 | fixed |
| bullseye | 12.22.12~dfsg-1~deb11u4 | fixed |
| bullseye (security) | 12.22.12~dfsg-1~deb11u5 | fixed |
| bookworm | 18.19.0+dfsg-6~deb12u2 | fixed |
| bookworm (security) | 18.19.0+dfsg-6~deb12u1 | fixed |
| trixie | 20.18.0+dfsg-2 | fixed |
| sid | 20.18.1+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
nodejs | source | jessie | (unfixed) | end-of-life | | |
nodejs | source | stretch | (unfixed) | end-of-life | | |
nodejs | source | buster | (not affected) | | | |
nodejs | source | bullseye | (not affected) | | | |
nodejs | source | bookworm | 18.19.0+dfsg-6~deb12u1 | | DSA-5589-1 | |
nodejs | source | (unstable) | 18.13.0+dfsg1-1.1 | | | 1054892 |
Notes
[bullseye] - nodejs <not-affected> (Only affects 18.x and later)
[buster] - nodejs <not-affected> (Only affects 18.x and later)
https://nodejs.org/en/blog/vulnerability/october-2023-security-releases#code-injection-via-webassembly-export-names-low---cve-2023-39333
https://github.com/nodejs/node/commit/eaf9083cf1e43bd897ac8244dcc0f4e3500150ca