Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1545893 - (CVE-2018-3728) CVE-2018-3728 hoek: Prototype pollution in utilities function
CVE-2018-3728 hoek: Prototype pollution in utilities function
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180215,reported=2...
: Security
Depends On: 1545894 1545895 1578488 1545896 1578487
Blocks: 1545897
  Show dependency treegraph
 
Reported: 2018-02-15 14:09 EST by Pedro Sampaio
Modified: 2018-06-29 18:32 EDT (History)
24 users (show)

See Also:
Fixed In Version: hoek 5.0.3
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1263 None None None 2018-04-30 14:41 EDT
Red Hat Product Errata RHSA-2018:1264 None None None 2018-04-30 11:29 EDT

  None (edit)
Description Pedro Sampaio 2018-02-15 14:09:05 EST
Affected versions of this package are vulnerable to Prototype Pollution. The utilities function allow modification of the Object prototype. If an attacker can control part of the structure passed to this function, they could add or modify an existing property leading to potential denial of service.

References:

https://snyk.io/vuln/npm:hoek:20180212
https://hackerone.com/reports/310439
Comment 1 Pedro Sampaio 2018-02-15 14:09:54 EST
Created nodejs-hoek tracking bugs for this issue:

Affects: epel-all [bug 1545894]
Affects: fedora-all [bug 1545895]
Comment 3 Jason Shepherd 2018-02-15 20:03:40 EST
Most RHMAP usages come from dependency on nodejs-requests and therefore nodejs-hawk. NodeJS Hawk 3.1.x don't make use of the vulnerable 'merge' function. It's possible RHAMP/supercore could be affected through use of the joi package in jsonwebtoken. Upgrade to jsonwebtoken version 8 or later where joi was removed.
Comment 5 Jason Shepherd 2018-02-15 20:12:37 EST
The package, jsonwebtoken, is also potentially vulnernable to a similar issue in lodash, see:

https://bugzilla.redhat.com/show_bug.cgi?id=1545884
Comment 6 Jason Shepherd 2018-02-19 00:27:38 EST
(In reply to Jason Shepherd from comment #5)
> The package, jsonwebtoken, is also potentially vulnernable to a similar
> issue in lodash, see:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1545884

Actually 'jsonwebtoken' doesn't use any of the vulnerable methods from lodash, merge, mergeWith, or defaultsDeep, see:

https://github.com/auth0/node-jsonwebtoken/blob/7b0a010e8a8ede7b2d31a702cf4fbab1cfc774b7/package.json#L21
Comment 7 errata-xmlrpc 2018-04-30 11:29:41 EDT
This issue has been addressed in the following products:

  Red Hat Mobile Application Platform 4.6

Via RHSA-2018:1264 https://access.redhat.com/errata/RHSA-2018:1264
Comment 8 errata-xmlrpc 2018-04-30 14:40:49 EDT
This issue has been addressed in the following products:

  Red Hat Mobile Application Platform 4.6

Via RHSA-2018:1263 https://access.redhat.com/errata/RHSA-2018:1263

Note You need to log in before you can comment on or make changes to this bug.