ALAS-2024-569


Amazon Linux 2023 Security Advisory: ALAS-2024-569
Advisory Release Date: 2024-03-13 20:41 Pacific
Advisory Updated Date: 2024-03-21 14:00 Pacific
Severity: Important

Issue Overview:

A flaw was found in Node.js. On Linux, Node.js ignores certain environment variables if they have been set by an unprivileged user while the process is running with elevated privileges, with the exception of CAP_NET_BIND_SERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when other capabilities have been set. This may allow unprivileged users to inject code that inherits the processes elevated privileges. (CVE-2024-21892)

A flaw was found in Node.js due to a lack of safeguards on chunk extension bytes. The server may read an unbounded number of bytes from a single connection, which can allow an attacker to send a specially crafted HTTP request with chunked encoding, leading to resource exhaustion and a denial of service. (CVE-2024-22019)


Affected Packages:

nodejs


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

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

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

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

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