RHEL 8 : nodejs:20 (RHSA-2024:5814)

medium Nessus Plugin ID 210568

Synopsis

The remote Red Hat host is missing one or more security updates for nodejs:20.

Description

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

Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language.

Security Fix(es):

* node-tar: denial of service while parsing a tar file due to lack of folders depth validation (CVE-2024-28863)

* nodejs: Bypass network import restriction via data URL (CVE-2024-22020)

* nodejs: fs.lstat bypasses permission model (CVE-2024-22018)

* nodejs: fs.fchown/fchmod bypasses permission model (CVE-2024-36137)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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 RHEL nodejs:20 package based on the guidance in RHSA-2024:5814.

See Also

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=2293200

https://bugzilla.redhat.com/show_bug.cgi?id=2296417

https://bugzilla.redhat.com/show_bug.cgi?id=2296990

https://bugzilla.redhat.com/show_bug.cgi?id=2299281

http://www.nessus.org/u?946551e6

https://access.redhat.com/errata/RHSA-2024:5814

Plugin Details

Severity: Medium

ID: 210568

File Name: redhat-RHSA-2024-5814.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/8/2024

Updated: 11/8/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2024-22020

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:npm, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:nodejs-devel, p-cpe:/a:redhat:enterprise_linux:nodejs-packaging, cpe:/o:redhat:rhel_eus:8.10, p-cpe:/a:redhat:enterprise_linux:nodejs-full-i18n, p-cpe:/a:redhat:enterprise_linux:nodejs-nodemon, p-cpe:/a:redhat:enterprise_linux:nodejs-docs, p-cpe:/a:redhat:enterprise_linux:nodejs-packaging-bundler, p-cpe:/a:redhat:enterprise_linux:nodejs

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/26/2024

Vulnerability Publication Date: 3/21/2024

Reference Information

CVE: CVE-2024-22018, CVE-2024-22020, CVE-2024-28863, CVE-2024-36137

CWE: 400, 732

RHSA: 2024:5814