Amazon Linux AMI update for nodejs



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-25883
CVE-2023-35945
CWE-ID CWE-185
CWE-401
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 2 vulnerabilities.

1) Incorrect Regular Expression

EUVDB-ID: #VU78932

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-2022-25883

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

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

The vulnerability exists due to insufficient input validation when processing regular expressions. A remote attacker can pass specially crafted data to the application via the new Range function and perform regular expression denial of service (ReDos) attack.

Mitigation

Update the affected packages:

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

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

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-290.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) Memory leak

EUVDB-ID: #VU78293

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-2023-35945

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform DoS attack on the target system.

The vulnerability exists due memory leak when handling HTTP/2 requests within the nghttp2 codec. A remote attacker can send RST_STREAM immediately followed by the GOAWAY frames to the application and force memory leak.

Mitigation

Update the affected packages:

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

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

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-290.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###