CVE-2020-7660
Insecure serialization leading to RCE in serialize-javascript
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
- Record
CVE-2020-7660- 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 - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
- Record
CVE-2020-7660- Updated
- 2026-11-02
EUVDEUVD-2020-0628 No score
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
- Record
EUVD-2020-0628- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hxcc-f52p-wc94
8.1
Insecure serialization leading to RCE in serialize-javascript
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
An object such as {"foo": /1"/, "bar": "a\"@__R-<UID>-0__@"} was serialized as {"foo": /1"/, "bar": "a\/1"/}, which allows an attacker to escape the bar key. This requires the attacker to control the values of both foo and bar and guess the value of <UID>. The UID has a keyspace of approximately 4 billion making it a realistic network attack.
- Record
GHSA-hxcc-f52p-wc94- 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 - Weakness
- CWE-502
- Updated
- 2026-11-02
OSV
8.1
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
- Record
CVE-2020-7660- 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 - Updated
- 2026-11-02
OSVGHSA-hxcc-f52p-wc94
8.1
Insecure serialization leading to RCE in serialize-javascript
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
An object such as {"foo": /1"/, "bar": "a\"@__R-<UID>-0__@"} was serialized as {"foo": /1"/, "bar": "a\/1"/}, which allows an attacker to escape the bar key. This requires the attacker to control the values of both foo and bar and guess the value of <UID>. The UID has a keyspace of approximately 4 billion making it a realistic network attack.
- Record
GHSA-hxcc-f52p-wc94- 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 - Weakness
- CWE-502
- Updated
- 2026-11-02
Show 6 moreShow less
OSVRHSA-2020:2796
8.2
Red Hat Security Advisory: Red Hat OpenShift Service Mesh servicemesh-grafana security update
- Record
RHSA-2020:2796- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2020:2861
8.2
Red Hat Security Advisory: Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana security update
- Record
RHSA-2020:2861- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1774311647 No score
TuxCare security update for formidable (4 CVEs)
TuxCare rebuilt formidable to address 4 CVEs. Fixed in 2.1.2-tuxcare.1.
- Record
CLSA-2026-1774311647- Updated
- 2026-11-02
OSVCLSA-2026-1776213251 No score
TuxCare security update for serialize-javascript (3 CVEs)
TuxCare rebuilt serialize-javascript to address 3 CVEs. Fixed in 2.1.2-tuxcare.1.
- Record
CLSA-2026-1776213251- Updated
- 2026-11-02
OSVCLSA-2026-1793789998 No score
TuxCare security update for serialize-javascript (3 CVEs)
TuxCare rebuilt serialize-javascript to address 3 CVEs. Fixed in 3.0.0-tuxcare.1.
- Record
CLSA-2026-1793789998- Updated
- 2026-11-04
OSVROOT-APP-NPM-CVE-2020-7660 No score
CVE-2020-7660 in serialize-javascript - Patched by Root
Root has patched CVE-2020-7660 in the serialize-javascript package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2020-7660- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
serialize-javascriptnpm |
before 3.1.0 | 3.1.0 |
serialize-javascriptTuxCare:npm From an advisory covering 2 CVEs |
2.1.2-tuxcare.0 up to 2.1.2-tuxcare.1, plus listed versions 2.1.2 |
2.1.2-tuxcare.1 |
serialize-javascriptTuxCare:npm From an advisory covering 2 CVEs |
3.0.0-tuxcare.0 up to 3.0.0-tuxcare.1, plus listed versions 3.0.0 |
3.0.0-tuxcare.1 |
servicemesh-grafanaRed Hat:service_mesh:1.1::el8 From an advisory covering 8 CVEs |
before 0:6.4.3-11.el8 | 0:6.4.3-11.el8 |
servicemesh-grafana-prometheusRed Hat:service_mesh:1.1::el8 From an advisory covering 8 CVEs |
before 0:6.4.3-11.el8 | 0:6.4.3-11.el8 |
servicemesh-grafanaRed Hat:service_mesh:1.0::el8 From an advisory covering 7 CVEs |
before 0:6.2.2-38.el8 | 0:6.2.2-38.el8 |
servicemesh-grafana-prometheusRed Hat:service_mesh:1.0::el8 From an advisory covering 7 CVEs |
before 0:6.2.2-38.el8 | 0:6.2.2-38.el8 |
serialize-javascriptRoot:npm |
before 1.9.1-aikido.1 | 1.9.1-aikido.11.9.1-aikido.23.1.0-aikido.1 |
@rootio/serialize-javascriptRoot:npm |
before 1.9.1-root.io.1 | 1.9.1-root.io.11.9.1-root.io.23.1.0-root.io.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, facts | OSV | |
| affected | ||
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-7660 is a high vulnerability (CVSS 8.1) in Verizon Serialize-javascript, published June 1, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.01%, the 87th percentile. Fixed in serialize-javascript 3.1.0.
References
github.com/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd
nvd.nist.gov/vuln/detail/CVE-2020-7660
github.com/advisories/GHSA-hxcc-f52p-wc94
github.com/yahoo/serialize-javascript
access.redhat.com/errata/RHSA-2020:2796
access.redhat.com/security/updates/classification
Show 38 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=1757701
bugzilla.redhat.com/show_bug.cgi?id=1843640
bugzilla.redhat.com/show_bug.cgi?id=1844228
bugzilla.redhat.com/show_bug.cgi?id=1845982
bugzilla.redhat.com/show_bug.cgi?id=1848089
bugzilla.redhat.com/show_bug.cgi?id=1848092
bugzilla.redhat.com/show_bug.cgi?id=1848108
bugzilla.redhat.com/show_bug.cgi?id=1848643
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2796.json
access.redhat.com/security/cve/CVE-2019-11253
cve.org/CVERecord?id=CVE-2019-11253
nvd.nist.gov/vuln/detail/CVE-2019-11253
stackrox.com/post/2019/09/protecting-kubernetes-api-against-cve-2019-11253-billion-laughs-attack
access.redhat.com/security/cve/CVE-2019-16769
cve.org/CVERecord?id=CVE-2019-16769
nvd.nist.gov/vuln/detail/CVE-2019-16769
access.redhat.com/security/cve/CVE-2020-7660
cve.org/CVERecord?id=CVE-2020-7660
access.redhat.com/security/cve/CVE-2020-7662
cve.org/CVERecord?id=CVE-2020-7662
nvd.nist.gov/vuln/detail/CVE-2020-7662
github.com/faye/websocket-extensions-node/security/advisories/GHSA-g78m-2chm-r7qv
access.redhat.com/security/cve/CVE-2020-12052
cve.org/CVERecord?id=CVE-2020-12052
nvd.nist.gov/vuln/detail/CVE-2020-12052
access.redhat.com/security/cve/CVE-2020-12245
cve.org/CVERecord?id=CVE-2020-12245
nvd.nist.gov/vuln/detail/CVE-2020-12245
access.redhat.com/security/cve/CVE-2020-13379
cve.org/CVERecord?id=CVE-2020-13379
nvd.nist.gov/vuln/detail/CVE-2020-13379
grafana.com/blog/2020/06/03/grafana-6.7.4-and-7.0.2-released-with-important-security-fix
openwall.com/lists/oss-security/2020/06/09/2
access.redhat.com/security/cve/CVE-2020-13430
cve.org/CVERecord?id=CVE-2020-13430
nvd.nist.gov/vuln/detail/CVE-2020-13430
access.redhat.com/errata/RHSA-2020:2861
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2861.json