Bug 1844228 (CVE-2020-7660) - CVE-2020-7660 npm-serialize-javascript: allows remote attackers to inject arbitrary code via the function deleteFunctions within index.js
Summary: CVE-2020-7660 npm-serialize-javascript: allows remote attackers to inject arb...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-7660
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1844345 1845006 1845407 1845450 1846446 1846447 1846448 1846449 1910271
Blocks: 1844230
TreeView+ depends on / blocked
 
Reported: 2020-06-04 19:57 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-05-23 11:15 UTC (History)
32 users (show)

Fixed In Version: serialize-javascript-3.1.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the serialize-javascript before version 3.1.0. This flaw allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js."
Clone Of:
Environment:
Last Closed: 2020-07-01 19:27:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:2796 0 None None None 2020-07-01 18:46:05 UTC
Red Hat Product Errata RHSA-2020:2861 0 None None None 2020-07-07 19:33:39 UTC

Description Guilherme de Almeida Suckevicz 2020-06-04 19:57:44 UTC
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

Reference:
https://github.com/yahoo/serialize-javascript/pull/79

Upstream commit:
https://github.com/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd

Comment 11 Mark Cooper 2020-06-09 07:36:04 UTC
In both OpenShift 4.x containers, openshift4/ose-prometheus and openshift4/ose-grafana, an affected version of serialize-javascript is included (v1.9.1).

Comment 17 errata-xmlrpc 2020-07-01 18:46:02 UTC
This issue has been addressed in the following products:

  OpenShift Service Mesh 1.1

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

Comment 18 Product Security DevOps Team 2020-07-01 19:27:42 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-7660

Comment 19 errata-xmlrpc 2020-07-07 19:33:39 UTC
This issue has been addressed in the following products:

  OpenShift Service Mesh 1.0

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

Comment 22 Jason Shepherd 2021-05-03 23:37:39 UTC
Statement:

Red Hat Quay includes serialize-javascript as a dependency of webpack which is only used at build time. The vulnerable library is not used at runtime meaning this has a low impact on Red Hat Quay.

The currently supported versions of Container Native Virtualization 2 are not affected by this flaw. However, version 2.0, which is no longer supported, is affected.


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