QID 357345

Date Published: 2024-03-26

QID 357345: Amazon Linux Security Advisory for nodejs : ALAS2023-2024-569

A flaw was found in node.js.
On linux, node.js ignores certain environment variables if they have been set by an unprivileged user while the process is running with elevated privileges, with the exception of cap_net_bind_service.
Due to a bug in the implementation of this exception, node.js incorrectly applies this exception even when other capabilities have been set.
This may allow unprivileged users to inject code that inherits the processes elevated privileges. (
( CVE-2024-21892) a flaw was found in node.js due to a lack of safeguards on chunk extension bytes.
The server may read an unbounded number of bytes from a single connection, which can allow an attacker to send a specially crafted http request with chunked encoding, leading to resource exhaustion and a denial of service. (
( CVE-2024-22019)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2024-569 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 357345

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2024-569 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2024-569.html