RHEL 6 / 7 : rh-nodejs4-nodejs and rh-nodejs4-http-parser (RHSA-2017:0002)

critical Nessus Plugin ID 210197

Synopsis

The remote Red Hat host is missing one or more security updates for rh-nodejs4-nodejs / rh-nodejs4-http-parser.

Description

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

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

The following packages have been upgraded to a newer upstream version: rh-nodejs4-nodejs (4.6.2), rh- nodejs4-http-parser (2.7.0). (BZ#1388097)

Security Fix(es):

* It was found that Node.js' tls.checkServerIdentity() function did not properly validate server certificates containing wildcards. A malicious TLS server could use this flaw to get a specially crafted certificate accepted by a Node.js TLS client. (CVE-2016-7099)

* It was found that the V8 Zone class was vulnerable to integer overflow when allocating new memory (Zone::New() and Zone::NewExpand()). An attacker with the ability to manipulate a large zone could crash the application or, potentially, execute arbitrary code with the application privileges. (CVE-2016-1669)

* A vulnerability was found in c-ares, a DNS resolver library bundled with Node.js. A hostname with an escaped trailing dot would have its size calculated incorrectly, leading to a single byte written beyond the end of a buffer on the heap. An attacker able to provide such a hostname to an application using c-ares, could potentially cause that application to crash. (CVE-2016-5180)

* It was found that the reason argument in ServerResponse#writeHead() was not properly validated. A remote attacker could possibly use this flaw to conduct an HTTP response splitting attack via a specially-crafted HTTP request. (CVE-2016-5325)

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 rh-nodejs4-nodejs / rh-nodejs4-http-parser packages based on the guidance in RHSA-2017:0002.

See Also

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

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

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

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

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

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

http://www.nessus.org/u?fb603645

https://access.redhat.com/errata/RHSA-2017:0002

Plugin Details

Severity: Critical

ID: 210197

File Name: redhat-RHSA-2017-0002.nasl

Version: 1.2

Type: local

Agent: unix

Published: 11/4/2024

Updated: 11/5/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.2

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

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

CVSS Score Source: CVE-2016-1669

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

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:H/RL:O/RC:C

CVSS Score Source: CVE-2016-5180

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:rh-nodejs4-http-parser-devel, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-nodejs4-nodejs, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:rh-nodejs4-nodejs-docs, p-cpe:/a:redhat:enterprise_linux:rh-nodejs4-nodejs-devel, p-cpe:/a:redhat:enterprise_linux:rh-nodejs4-http-parser

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: 1/2/2017

Vulnerability Publication Date: 5/11/2016

Reference Information

CVE: CVE-2016-1669, CVE-2016-5180, CVE-2016-5325, CVE-2016-7099

CWE: 122, 190

RHSA: 2017:0002