ALAS-2024-593


Amazon Linux 2023 Security Advisory: ALAS-2024-593
Advisory Release Date: 2024-04-25 16:39 Pacific
Advisory Updated Date: 2024-04-25 16:39 Pacific
Severity: Important

Issue Overview:

An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packets with a few HTTP/2 frames inside. It is possible to leave some data in nghttp2 memory after reset when headers with HTTP/2 CONTINUATION frame are sent to the server and then a TCP connection is abruptly closed by the client triggering the Http2Session destructor while header frames are still being processed (and stored in memory) causing a race condition. (CVE-2024-27983)

nghttp2 is an implementation of the Hypertext Transfer Protocol version 2 in C. The nghttp2 library prior to version 1.61.0 keeps reading the unbounded number of HTTP/2 CONTINUATION frames even after a stream is reset to keep HPACK context in sync. This causes excessive CPU usage to decode HPACK stream. nghttp2 v1.61.0 mitigates this vulnerability by limiting the number of CONTINUATION frames it accepts per stream. There is no workaround for this vulnerability. (CVE-2024-28182)


Affected Packages:

nodejs


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

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

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

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

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