Amazon Linux AMI update for nodejs



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-4904
CVE-2023-23918
CWE-ID CWE-119
CWE-264
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) Buffer overflow

EUVDB-ID: #VU72557

Risk: Low

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

CVE-ID: CVE-2022-4904

CWE-ID: CWE-119 - Memory corruption

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 config_sortlist() function. A local user can trigger memory corruption and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

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

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

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: before 18.12.1-1

CPE2.3 External links

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

2) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU72398

Risk: Medium

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

CVE-ID: CVE-2023-23918

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a remote user to bypass implemented security restrictions.

The vulnerability exists due to improperly imposed security restrictions within the process.mainModule.require() method. A remote user can access non authorized modules.

Mitigation

Update the affected packages:

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

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

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

nodejs: before 18.12.1-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-243.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###