Amazon Linux AMI update for nodejs



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2024-22025
CVE-2024-24758
CVE-2024-25629
CWE-ID CWE-20
CWE-200
CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

nodejs
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU86733

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-22025

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when handling brotli decoding. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

aarch64:
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-debuginfo-18.18.2-1.amzn2023.0.3.aarch64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.3.aarch64
    nodejs-devel-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-libs-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.3.aarch64
    nodejs-debugsource-18.18.2-1.amzn2023.0.3.aarch64

noarch:
    nodejs-docs-18.18.2-1.amzn2023.0.3.noarch

src:
    nodejs-18.18.2-1.amzn2023.0.3.src

x86_64:
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-debuginfo-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-devel-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-libs-18.18.2-1.amzn2023.0.3.x86_64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.3.x86_64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.3.x86_64
    nodejs-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-debugsource-18.18.2-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: before 18.18.2-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2024-568.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Information disclosure

EUVDB-ID: #VU86709

Risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-24758

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to the application does not clear the Proxy-Authentication HTTP header when handling cross-origin redirects. A remote attacker can gain access to sensitive information.

Mitigation

Update the affected packages:

aarch64:
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-debuginfo-18.18.2-1.amzn2023.0.3.aarch64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.3.aarch64
    nodejs-devel-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-libs-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.3.aarch64
    nodejs-debugsource-18.18.2-1.amzn2023.0.3.aarch64

noarch:
    nodejs-docs-18.18.2-1.amzn2023.0.3.noarch

src:
    nodejs-18.18.2-1.amzn2023.0.3.src

x86_64:
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-debuginfo-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-devel-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-libs-18.18.2-1.amzn2023.0.3.x86_64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.3.x86_64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.3.x86_64
    nodejs-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-debugsource-18.18.2-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: before 18.18.2-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2024-568.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Out-of-bounds read

EUVDB-ID: #VU86807

Risk: Low

CVSSv4.0: 4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-25629

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the ares__read_line() function when parsing local configuration files, such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, or `HOSTALIASES` file. A local user can insert a NULL character as the first character in a new line into one of the configuration files and crash the application.

Mitigation

Update the affected packages:

aarch64:
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-debuginfo-18.18.2-1.amzn2023.0.3.aarch64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.3.aarch64
    nodejs-devel-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-libs-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-18.18.2-1.amzn2023.0.3.aarch64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.3.aarch64
    nodejs-debugsource-18.18.2-1.amzn2023.0.3.aarch64

noarch:
    nodejs-docs-18.18.2-1.amzn2023.0.3.noarch

src:
    nodejs-18.18.2-1.amzn2023.0.3.src

x86_64:
    nodejs-libs-debuginfo-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-debuginfo-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-devel-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-full-i18n-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-libs-18.18.2-1.amzn2023.0.3.x86_64
    v8-10.2-devel-10.2.154.26-1.18.18.2.1.amzn2023.0.3.x86_64
    nodejs-npm-9.8.1-1.18.18.2.1.amzn2023.0.3.x86_64
    nodejs-18.18.2-1.amzn2023.0.3.x86_64
    nodejs-debugsource-18.18.2-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: before 18.18.2-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2024-568.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###