ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2024-593

Amazon Linux 2023 - ALAS2023-2024-593: Important priority package update for nodejs

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-28182: 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-27983: 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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023nodejs
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-debuginfo
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-debugsource
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-devel
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-docs
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-full-i18n
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-libs
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-libs-debuginfo
All versions before 1:18.18.2-1.amzn2023.0.4 (fixed in 1:18.18.2-1.amzn2023.0.4)
Amazon Linux:2023nodejs-npm
All versions before 1:9.8.1-1.18.18.2.1.amzn2023.0.4 (fixed in 1:9.8.1-1.18.18.2.1.amzn2023.0.4)
Amazon Linux:2023v8-10.2-devel
All versions before 3:10.2.154.26-1.18.18.2.1.amzn2023.0.4 (fixed in 3:10.2.154.26-1.18.18.2.1.amzn2023.0.4)

References