Skip to content
OpenAdvisories
High ALAS2023-2024-594 4 CVEs

Important: nodejs20 security update (Amazon Linux 2023)

Published Apr 25, 2024 · Updated Jun 19, 2024

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-30261: Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can alter the `integrity` option passed to `fetch()`, allowing `fetch()` to accept requests as valid even if they have been tampered. This vulnerability was patched in version(s) 5.28.4 and 6.11.1. 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. CVE-2024-27982: NOTE: https://nodejs.org/en/blog/vulnerability/april-2024-security-releases/

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2023 nodejs20 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-debuginfo 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-debugsource 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-devel 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-docs 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-full-i18n 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-libs 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-libs-debuginfo 1:20.12.2-1.amzn2023.0.2
Amazon Linux · 2023 nodejs20-npm 1:10.5.0-1.20.12.2.1.amzn2023.0.2
Amazon Linux · 2023 v8-11.3-devel 3:11.3.244.8-1.20.12.2.1.amzn2023.0.2

Vulnerabilities 4

  • 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 6.5

    The team has identified a critical vulnerability in the http server of the most recent version of Node, where malformed…

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

  • Low 2.6

    Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect

    Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can alter the `integrity` option passed to `fetch()`, allowing `fetch()` to accept requests as valid even if they have been tampered. This vulnerability was patched in version(s) 5.28…

References

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