Bug 1545884 (CVE-2018-3721) - CVE-2018-3721 lodash: Prototype pollution in utilities function
Summary: CVE-2018-3721 lodash: Prototype pollution in utilities function
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2018-3721
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1545885 1545886 1545887 1549919 1549920 1549921
Blocks: 1545889
TreeView+ depends on / blocked
 
Reported: 2018-02-15 18:50 UTC by Pedro Sampaio
Modified: 2021-10-19 12:10 UTC (History)
40 users (show)

Fixed In Version: lodash 4.17.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-15 08:47:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3917 0 None None None 2021-10-19 12:10:04 UTC

Description Pedro Sampaio 2018-02-15 18:50:28 UTC
Affected versions of this package are vulnerable to Prototype Pollution. The utilities function allows 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.

Upstream patch:

https://github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a

References:

https://snyk.io/vuln/npm:lodash:20180130
https://hackerone.com/reports/310443

Comment 1 Pedro Sampaio 2018-02-15 18:50:59 UTC
Created lodash tracking bugs for this issue:

Affects: fedora-all [bug 1545887]


Created nodejs-lodash tracking bugs for this issue:

Affects: epel-all [bug 1545885]

Comment 3 Jason Shepherd 2018-02-16 05:18:25 UTC
Node of the libraries, or services using the lodash in RHMAP call the vulnerable methods with the expection of the _send function in 'sendgrid' version 1.9.1. For 'sendgrid' the parameters passed to 'lodash.merge' are not obtained from user input:

https://github.com/sendgrid/sendgrid-nodejs/blob/967fb3105908617b41b761d3f18bbc623eb4579a/lib/sendgrid.js#L70

Comment 7 Doran Moppert 2019-08-15 03:33:54 UTC
Statement:

Red Hat CloudForms version 4.7 does not ship component lodash, so isn't affected by this flaw.

Red Hat Virtualization 4.2 EUS includes a vulnerable version of lodash as part of the ovirt-engine-dashboard package. This package has been removed from Red Hat Virtualization 4.3.

Comment 8 Product Security DevOps Team 2019-08-15 08:47:01 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-3721

Comment 10 errata-xmlrpc 2021-10-19 12:10:01 UTC
This issue has been addressed in the following products:

  Red Hat Quay 3

Via RHSA-2021:3917 https://access.redhat.com/errata/RHSA-2021:3917


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