Node.js v4.0 through v4.8.3, all versions of v5.x, v6.0 through v6.11.0, v7.0 through v7.10.0, and v8.0 through v8.1.3 was susceptible to hash flooding remote DoS attacks as the HashTable seed was constant across a given released version of Node.js. This was a result of building with V8 snapshots enabled by default which caused the initially randomized seed to be overwritten on startup. External References: https://nodejs.org/en/blog/vulnerability/july-2017-security-releases/
Created nodejs tracking bugs for this issue: Affects: epel-all [bug 1475330] Affects: fedora-all [bug 1475328] Affects: openshift-1 [bug 1475329]
Lowering severity to Medium to keep it aligned with similar remote DoS by hash table issues.
The upstream fix pointed in the upstream release note (commit 51d69d2bec) was a temporary fix only, aimed at disabling snapshot by default, and had a negative performance impact during creation of contexts (e.g.: vm.runInNewContext() calls). A later patch re-enables snapshot by default, and adds re-hashing after de-serialization as mitigation : https://github.com/nodejs/node/commit/8dce05fa
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Via RHSA-2017:2908 https://access.redhat.com/errata/RHSA-2017:2908
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Via RHSA-2017:3002 https://access.redhat.com/errata/RHSA-2017:3002
Openshift Enterprise uses latest RHSCL nodejs-4-rhel7 image which contains a fix for this issue. Marking Openshift Enterprise as not affected. https://github.com/openshift/library/blob/4e6ba65846f803063b1d977eaa57c89af440812f/official/nodejs/imagestreams/nodejs-rhel7.json#L64
Marking Openshift Online as not affected for the same reasons as comment 12.