CVE-2023-39333: Code injection via WebAssembly export names
Code injection via WebAssembly export names (Low)
Other sources
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.
References: https://nodejs.org/en/blog/vulnerability/october-2023-security-releases
— Red Hat
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.
Thanks to dittyroma for reporting the issue and to Tobias Nießen for fixing it.
— Node.Js
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.
— MITRE
Node.js could allow a remote attacker to gain unauthorized access to the system, caused by a code injection flaw. By using specially crafted export names in an imported WebAssembly module, an attacker could exploit this vulnerability to inject JavaScript code and gain access to restricted data and functions.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.18.2Fixed in 20.8.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.18.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 20.8.1 - Upgrade
Upgrade
alpine/nodejsto a version that resolves this vulnerability.Fixed in 18.18.2-r0 - Upgrade
Upgrade
alpine/nodejs-currentto a version that resolves this vulnerability.Fixed in 20.8.1-r0 - Upgrade
Upgrade
debian/nodejsto a version that resolves this vulnerability.Fixed in 18.20.4+dfsg-1~deb12u2Fixed in 18.20.4+dfsg-1~deb12u3Fixed in 20.19.2+dfsg-1+deb13u2Fixed in 20.19.2+dfsg-1+deb13u3Fixed in 24.21.0+dfsg+~cs24.13.4-1Fixed in 24.22.2+dfsg+~cs24.19.2-1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2023-39333?
CVE-2023-39333 has been classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2023-39333?
To fix CVE-2023-39333, apply the available patches provided by IBM for affected versions of Cognos Analytics.
Which versions of IBM Cognos Analytics are affected by CVE-2023-39333?
CVE-2023-39333 affects IBM Cognos Analytics versions up to 12.0.2 and 11.2.4 FP3.
What is the nature of the vulnerability in CVE-2023-39333?
CVE-2023-39333 allows maliciously crafted WebAssembly exports to inject JavaScript code into the application.
Can CVE-2023-39333 lead to data breaches?
Yes, CVE-2023-39333 could potentially lead to data breaches by allowing unauthorized access to sensitive data and functions.