RHEL 8 : nodejs:12 (RHSA-2021:3638)

critical Nessus Plugin ID 153552

Synopsis

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

Description

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

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

The following packages have been upgraded to a later upstream version: nodejs (12.22.5). (BZ#1994939)

Security Fix(es):

* nodejs: Use-after-free on close http2 on stream canceling (CVE-2021-22930)

* nodejs: Use-after-free on close http2 on stream canceling (CVE-2021-22940)

* c-ares: Missing input validation of host names may lead to domain hijacking (CVE-2021-3672)

* nodejs: Improper handling of untypical characters in domain names (CVE-2021-22931)

* nodejs-hosted-git-info: Regular Expression denial of service via shortcutMatch in fromUrl() (CVE-2021-23362)

* nodejs-ssri: Regular expression DoS (ReDoS) when parsing malicious SRI in strict mode (CVE-2021-27290)

* nodejs-tar: Insufficient symlink protection allowing arbitrary file creation and overwrite (CVE-2021-32803)

* nodejs-tar: Insufficient absolute path sanitization allowing arbitrary file creation and overwrite (CVE-2021-32804)

* libuv: out-of-bounds read in uv__idna_toascii() can lead to information disclosures or crashes (CVE-2021-22918)

* nodejs: Incomplete validation of tls rejectUnauthorized parameter (CVE-2021-22939)

* nodejs-path-parse: ReDoS via splitDeviceRe, splitTailRe and splitPathRe (CVE-2021-23343)

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.

Bug Fix(es):

* nodejs:12/nodejs: Make FIPS options always available (BZ#1993928)

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:12 package based on the guidance in RHSA-2021:3638.

See Also

http://www.nessus.org/u?9b3a1d98

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

https://access.redhat.com/errata/RHSA-2021:3638

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

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 153552

File Name: redhat-RHSA-2021-3638.nasl

Version: 1.14

Type: local

Agent: unix

Published: 9/22/2021

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2021-22931

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:npm, p-cpe:/a:redhat:enterprise_linux:nodejs-devel, p-cpe:/a:redhat:enterprise_linux:nodejs-packaging, cpe:/o:redhat:rhel_eus:8.2, 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

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: 9/22/2021

Vulnerability Publication Date: 3/12/2021

Reference Information

CVE: CVE-2021-22918, CVE-2021-22930, CVE-2021-22931, CVE-2021-22939, CVE-2021-22940, CVE-2021-23343, CVE-2021-23362, CVE-2021-27290, CVE-2021-32803, CVE-2021-32804, CVE-2021-3672

CWE: 125, 20, 22, 400, 416, 770, 79

IAVB: 2021-B-0041-S, 2021-B-0050-S

RHSA: 2021:3638