CVE-2020-7660 json
Insecure serialization leading to RCE in serialize-javascript
published 6y ago modified 4mo ago also GHSA-hxcc-f52p-wc94 , EUVD-2020-0628
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
Patch / fix
- npm serialize-javascript 3.1.0
- verizon serialize-javascript 3.1.0
- servicemesh-grafana service mesh 1.0 6.2.2-38.el8
- servicemesh-grafana-prometheus service mesh 1.0 6.2.2-38.el8
- servicemesh-grafana service mesh 1.1 6.4.3-11.el8
- servicemesh-grafana-prometheus service mesh 1.1 6.4.3-11.el8
red hat advisories RHSA-2020:2861RHSA-2020:2796
Is CVE-2020-7660 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7660 updated cvss 8.1
npm-serialize-javascript: allows remote attackers to inject arbitrary code via the function deleteFunctions within index.js
-
Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/ose-prometheus-rhel9affected: no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-all-in-one-rhel8affected: no fix available “Fix deferred”
-
Red Hat OpenShift Virtualization 1 kubevirt-web-ui-containeraffected: no fix planned “Will not fix”
-
Red Hat Quay 3 nodejs-serialize-javascriptaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana 6.2.2-38.el8, servicemesh-grafana-prometheus 6.2.2-38.el8fixed: vendor fix RHSA-2020:2861
-
Red Hat OpenShift Service Mesh 1.1 servicemesh-grafana 6.4.3-11.el8, servicemesh-grafana-prometheus 6.4.3-11.el8fixed: vendor fix RHSA-2020:2796
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8 Red Hat OpenShift Virtualization 2 kubevirt-web-ui-containernot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.01% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | serialize-javascript | <3.1.0 |
3.1.0 |
Affected products
- n/a serialize-javascript
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7660
advisory
-
github.com
/yahoo/serialize-javascript
package
Sources
- CVE List CVE-2020-7660
- GitHub Advisory GHSA-hxcc-f52p-wc94
- NVD CVE-2020-7660
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.