RHEL 7 : rh-nodejs14-nodejs (RHSA-2023:1744)

high Nessus Plugin ID 174180

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2023:1744 advisory.

- This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library. (CVE-2022-25881)

- decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS. (CVE-2022-38900)

- A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity. (CVE-2022-4904)

- A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule.require(). This only affects users who had enabled the experimental permissions option with --experimental-policy. (CVE-2023-23918)

- An untrusted search path vulnerability exists in Node.js. <19.6.1, <18.14.1, <16.19.1, and <14.21.3 that could allow an attacker to search and potentially load ICU data when running with elevated privileges.
(CVE-2023-23920)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/cve/CVE-2022-4904

https://access.redhat.com/security/cve/CVE-2022-25881

https://access.redhat.com/security/cve/CVE-2022-38900

https://access.redhat.com/security/cve/CVE-2023-23918

https://access.redhat.com/security/cve/CVE-2023-23920

https://access.redhat.com/errata/RHSA-2023:1744

Plugin Details

Severity: High

ID: 174180

File Name: redhat-RHSA-2023-1744.nasl

Version: 1.2

Type: local

Agent: unix

Published: 4/12/2023

Updated: 5/24/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:C

CVSS Score Source: CVE-2022-4904

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14-nodejs, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14-nodejs-devel, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14-nodejs-docs, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14-nodejs-full-i18n, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14-npm, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14-runtime, p-cpe:/a:redhat:enterprise_linux:rh-nodejs14-scldevel

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/12/2023

Vulnerability Publication Date: 11/28/2022

Reference Information

CVE: CVE-2022-25881, CVE-2022-38900, CVE-2022-4904, CVE-2023-23918, CVE-2023-23920

CWE: 119, 1333, 20, 426, 863

RHSA: 2023:1744