Amazon Linux Security Advisory
ALAS2023-2025-822
Amazon Linux 2023 - ALAS2023-2025-822: Important priority package update for nodejs20
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-23085: A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid header was detected by nghttp2, causing the connection to be terminated by the peer, the same leak was triggered. This flaw could lead to increased memory consumption and potential denial of service under certain conditions.
CVE-2025-23083: With the aid of the diagnostics_channel utility, an event can be hooked into whenever a worker thread is created. This is not limited only to workers but also exposes internal workers, where an instance of them can be fetched, and its constructor can be grabbed and reinstated for malicious usage.
This vulnerability affects Permission Model users (--permission) on Node.js v20, v22, and v23.
CVE-2025-22150: Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3, undici uses Math.random() to choose the boundary for a multipart/form-data request. It is known that the output of Math.random() can be predicted if several of its generated values are known. If there is a mechanism in an app that sends multipart requests to an attacker-controlled website, they can use this to leak the necessary values. Therefore, an attacker can tamper with the requests going to the backend APIs if certain conditions are met. This is fixed in versions 5.28.5, 6.21.1, and 7.2.3. As a workaround, do not issue multipart requests to attacker controlled servers.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | nodejs20 | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-debuginfo | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-debugsource | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-devel | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-docs | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-full-i18n | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-libs | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-libs-debuginfo | All versions before 1:20.18.2-1.amzn2023.0.1 (fixed in 1:20.18.2-1.amzn2023.0.1) |
| Amazon Linux:2023 | nodejs20-npm | All versions before 1:10.8.2-1.20.18.2.1.amzn2023.0.1 (fixed in 1:10.8.2-1.20.18.2.1.amzn2023.0.1) |
| Amazon Linux:2023 | v8-11.3-devel | All versions before 3:11.3.244.8-1.20.18.2.1.amzn2023.0.1 (fixed in 3:11.3.244.8-1.20.18.2.1.amzn2023.0.1) |