Amazon Linux AMI update for nodejs



Published: 2024-08-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-25881
CWE-ID CWE-407
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
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 one medium risk vulnerability.

1) Inefficient Algorithmic Complexity

EUVDB-ID: #VU72750

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-25881

CWE-ID: CWE-407 - Inefficient Algorithmic Complexity

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to regular expression denial of service that occurs when the server reads the cache policy from the request using this library. A remote unauthenticated attacker can send malicious request header values to the server and perform a denial of service attack.

Mitigation

Update the affected packages:

aarch64:
    nodejs-libs-debuginfo-18.12.1-1.amzn2023.0.3.aarch64
    nodejs-devel-18.12.1-1.amzn2023.0.3.aarch64
    v8-devel-10.2.154.15-1.18.12.1.1.amzn2023.0.3.aarch64
    nodejs-debuginfo-18.12.1-1.amzn2023.0.3.aarch64
    nodejs-full-i18n-18.12.1-1.amzn2023.0.3.aarch64
    nodejs-libs-18.12.1-1.amzn2023.0.3.aarch64
    nodejs-18.12.1-1.amzn2023.0.3.aarch64
    npm-8.19.2-1.18.12.1.1.amzn2023.0.3.aarch64
    nodejs-debugsource-18.12.1-1.amzn2023.0.3.aarch64

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

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

x86_64:
    nodejs-libs-debuginfo-18.12.1-1.amzn2023.0.3.x86_64
    nodejs-full-i18n-18.12.1-1.amzn2023.0.3.x86_64
    v8-devel-10.2.154.15-1.18.12.1.1.amzn2023.0.3.x86_64
    nodejs-18.12.1-1.amzn2023.0.3.x86_64
    nodejs-devel-18.12.1-1.amzn2023.0.3.x86_64
    nodejs-debuginfo-18.12.1-1.amzn2023.0.3.x86_64
    nodejs-libs-18.12.1-1.amzn2023.0.3.x86_64
    npm-8.19.2-1.18.12.1.1.amzn2023.0.3.x86_64
    nodejs-debugsource-18.12.1-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: before 18.12.1-1

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-128.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.



###SIDEBAR###