cve.bz

CVE-2020-7660 verizon serialize-javascript: Deserialization of Untrusted Data

8.1 highEPSS 3.0%Fix available

High (8.1) in verizon serialize-javascript. EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in serialize-javascript 3.1.0.

On this page
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-7660 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-7660?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-7660?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-7660 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
verizon:serialize-javascriptbefore 3.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hxcc-f52p-wc94npmserialize-javascript<3.1.03.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatservice_mesh:1.0::el8servicemesh-grafana, servicemesh-grafana-prometheus0:6.2.2-38.el8RHSA-2020:2861
Red Hatservice_mesh:1.1::el8servicemesh-grafana, servicemesh-grafana-prometheus0:6.4.3-11.el8RHSA-2020:2796

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

In OpenShift distributed tracing there is bundled vulnerable version of the serialize-javascript Nodejs package, however access to the vulnerable function is restricted and protected by OpenShift OAuth, hence the impact by this vulnerability is reduced to Low.

In Red Hat OpenShift Logging the openshift-logging/kibana6-rhel8 container bundles many nodejs packages as a build time dependencies, including the serialize-javascript package.

The vulnerable code is not used hence the impact to OpenShift Logging by this vulnerability is Low.

ProductPackageStateAdvisory
OpenShift Service Mesh 1.0servicemesh-grafana-0:6.2.2-38.el8Fixed 2020-07-07RHSA-2020:2861
OpenShift Service Mesh 1.1servicemesh-grafana-0:6.4.3-11.el8Fixed 2020-07-01RHSA-2020:2796
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-prometheusFix deferred
Red Hat OpenShift distributed tracing 2rhosdt/jaeger-all-in-one-rhel8Fix deferred
Red Hat OpenShift Virtualization 1kubevirt-web-ui-containerWill not fix
Red Hat OpenShift Virtualization 2kubevirt-web-ui-containerNot affected
Red Hat Quay 3nodejs-serialize-javascriptFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-7660.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON