ALAS2023-2023-412


Amazon Linux 2023 Security Advisory: ALAS-2023-412
Advisory Release Date: 2023-10-30 23:44 Pacific
Advisory Updated Date: 2023-11-03 22:38 Pacific
Severity: Important

Issue Overview:

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. (CVE-2023-38552)

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. (CVE-2023-39333)

Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie` headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since undici handles headers more liberally than the spec, there was a disconnect from the assumptions the spec made, and undici's implementation of fetch. As such this may lead to accidental leakage of cookie to a third-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the third party site. This was patched in version 5.26.2. There are no known workarounds. (CVE-2023-45143)


Affected Packages:

nodejs


Issue Correction:
Run dnf update nodejs --releasever 2023.2.20231030 to update your system.

New Packages:
aarch64:
    nodejs-debuginfo-18.18.2-1.amzn2023.0.1.aarch64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.1.aarch64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.1.aarch64
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.1.aarch64
    nodejs-devel-18.18.2-1.amzn2023.0.1.aarch64
    nodejs-libs-18.18.2-1.amzn2023.0.1.aarch64
    nodejs-18.18.2-1.amzn2023.0.1.aarch64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.1.aarch64
    nodejs-debugsource-18.18.2-1.amzn2023.0.1.aarch64

noarch:
    nodejs-docs-18.18.2-1.amzn2023.0.1.noarch

src:
    nodejs-18.18.2-1.amzn2023.0.1.src

x86_64:
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.1.x86_64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.1.x86_64
    nodejs-debuginfo-18.18.2-1.amzn2023.0.1.x86_64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.1.x86_64
    nodejs-devel-18.18.2-1.amzn2023.0.1.x86_64
    nodejs-libs-18.18.2-1.amzn2023.0.1.x86_64
    nodejs-18.18.2-1.amzn2023.0.1.x86_64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.1.x86_64
    nodejs-debugsource-18.18.2-1.amzn2023.0.1.x86_64