Skip to content
OpenAdvisories
High ALAS2023-2024-593 2 CVEs

Important: nodejs security update (Amazon Linux 2023)

Published Apr 25, 2024 · Updated Apr 25, 2024

Summary

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.

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2023 nodejs 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-debuginfo 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-debugsource 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-devel 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-docs 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-full-i18n 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-libs 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-libs-debuginfo 1:18.18.2-1.amzn2023.0.4
Amazon Linux · 2023 nodejs-npm 1:9.8.1-1.18.18.2.1.amzn2023.0.4
Amazon Linux · 2023 v8-10.2-devel 3:10.2.154.26-1.18.18.2.1.amzn2023.0.4

Vulnerabilities 2

  • High 8.2
    CVE-2024-27983 Public exploit EPSS 84%

    An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packet…

  • Medium 5.3
    CVE-2024-28182 EPSS 82%

    Reading unbounded number of HTTP/2 CONTINUATION frames to cause excessive CPU usage

    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 cause…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-27983.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-28182.html