Amazon Linux AMI update for nodejs



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2023-32002
CVE-2023-32006
CVE-2023-32559
CWE-ID 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 3 vulnerabilities.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU79332

Risk: Medium

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

CVE-ID: CVE-2023-32002

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

Exploit availability: No

Description

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

The vulnerability exists due to improperly imposed security restrictions for the Module._load() method. A remote attacker can bypass the policy mechanism and include modules outside of the policy.json definition for a given module.

Mitigation

Update the affected packages:

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

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

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

x86_64:
    nodejs-libs-debuginfo-18.12.1-1.amzn2023.0.10.x86_64
    v8-devel-10.2.154.15-1.18.12.1.1.amzn2023.0.10.x86_64
    nodejs-full-i18n-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-libs-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-debuginfo-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-devel-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-18.12.1-1.amzn2023.0.10.x86_64
    npm-8.19.2-1.18.12.1.1.amzn2023.0.10.x86_64
    nodejs-debugsource-18.12.1-1.amzn2023.0.10.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-304.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) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU79334

Risk: Medium

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

CVE-ID: CVE-2023-32006

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

Exploit availability: No

Description

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

The vulnerability exists due to improperly imposed security restrictions for the module.constructor.createRequire() method. A remote attacker can bypass the policy mechanism and include modules outside of the policy.json definition for a given module.

Mitigation

Update the affected packages:

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

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

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

x86_64:
    nodejs-libs-debuginfo-18.12.1-1.amzn2023.0.10.x86_64
    v8-devel-10.2.154.15-1.18.12.1.1.amzn2023.0.10.x86_64
    nodejs-full-i18n-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-libs-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-debuginfo-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-devel-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-18.12.1-1.amzn2023.0.10.x86_64
    npm-8.19.2-1.18.12.1.1.amzn2023.0.10.x86_64
    nodejs-debugsource-18.12.1-1.amzn2023.0.10.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-304.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) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU79335

Risk: Medium

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

CVE-ID: CVE-2023-32559

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

Exploit availability: No

Description

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

The vulnerability exists due to usage of deprecated API process.binding(). A remote attacker can bypass the policy mechanism by requiring internal modules and eventually take advantage of process.binding('spawn_sync') run arbitrary code, outside of the limits defined in a policy.json file.

Mitigation

Update the affected packages:

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

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

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

x86_64:
    nodejs-libs-debuginfo-18.12.1-1.amzn2023.0.10.x86_64
    v8-devel-10.2.154.15-1.18.12.1.1.amzn2023.0.10.x86_64
    nodejs-full-i18n-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-libs-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-debuginfo-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-devel-18.12.1-1.amzn2023.0.10.x86_64
    nodejs-18.12.1-1.amzn2023.0.10.x86_64
    npm-8.19.2-1.18.12.1.1.amzn2023.0.10.x86_64
    nodejs-debugsource-18.12.1-1.amzn2023.0.10.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-304.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###