Bug 1874606 (CVE-2020-7720) - CVE-2020-7720 nodejs-node-forge: prototype pollution via the util.setPath function
Summary: CVE-2020-7720 nodejs-node-forge: prototype pollution via the util.setPath fun...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-7720
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1869944 1875399 1875400 1875401 1875402 1875403 1875901
Blocks: 1874607
TreeView+ depends on / blocked
 
Reported: 2020-09-01 17:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-06-15 13:46 UTC (History)
16 users (show)

Fixed In Version: nodejs-node-forge 0.10.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in nodejs-node-forge. A Prototype Pollution via the util.setPath function is possible.
Clone Of:
Environment:
Last Closed: 2020-12-18 07:31:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:5605 0 None None None 2020-12-17 06:22:26 UTC

Description Guilherme de Almeida Suckevicz 2020-09-01 17:53:07 UTC
All versions of package node-forge before 0.10.0 are vulnerable to Prototype Pollution via the util.setPath function.

References:
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-609293
https://snyk.io/vuln/SNYK-JS-NODEFORGE-598677

Comment 1 Mark Cooper 2020-09-02 23:57:40 UTC
Upstream patch - https://github.com/digitalbazaar/forge/commit/6a1e3ef74f6eb345bcff1b82184201d1e28b6756

Removing the vulnerable util.setPath function

Comment 3 Mark Cooper 2020-09-04 02:43:50 UTC
External References:

https://snyk.io/vuln/SNYK-JS-NODEFORGE-598677

Comment 6 Mark Cooper 2020-09-06 21:36:39 UTC
Statement:

In Red Hat Openshift Container Storage 4 the noobaa-core container includes the affected version of node-forge as a dependency of google-p12-pem, however the vulnerable function `util.setPath` is not being used and hence this issue has been rated as having a security impact of Low.

In OpenShift Container Platform (OCP) the prometheus container is behind OpenShift OAuth restricting access to the vulnerable node-forge library to authenticated users only, therefore the impact is Low.

Comment 7 errata-xmlrpc 2020-12-17 06:22:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Storage 4.6.0 on RHEL-8

Via RHSA-2020:5605 https://access.redhat.com/errata/RHSA-2020:5605

Comment 8 Product Security DevOps Team 2020-12-18 07:31:02 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-2020-7720


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