CVE-2020-7677 json
Arbitrary Code Execution
published 2022-07-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-29xr-v42j-r956 , EUVD-2022-6206
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
This affects the package thenify before 3.3.1. The name argument provided to the package can be controlled by users without any sanitization, and this is provided to the eval function without any sanitization.
Patch / fix
- npm thenify 3.3.1
- maven org.webjars.npm:thenify 3.3.1
- n/a thenify 3.3.1
- node-thenify Debian 14, Debian 13, Debian 12 3.3.1-1
debian advisories DEBIAN-CVE-2020-7677
- node-thenify Ubuntu 18.04 LTS 3.3.0-1+deb10u1build0.18.04.1
- node-thenify Ubuntu 20.04 LTS 3.3.0-1+deb10u1build0.20.04.1
ubuntu advisories UBUNTU-CVE-2020-7677
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor 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-7677 updated cvss 9.8
thenify: Arbitrary Code Execution in thenify
-
Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8 Red Hat build of Apicurio Registry 2 thenifyaffected: no fix available
-
Red Hat Integration Service Registry thenifyaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-consoleaffected: no fix available
-
Red Hat Integration Camel K 1 thenifynot 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
2.08% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-THENIFY-571690 referenced PoC, tagged "exploit" by a source, unverified
- security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-572317 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C |
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | thenify | <3.3.1 |
3.3.1 |
| maven | org.webjars.npm:thenify | <3.3.1 |
3.3.1 |
Affected products
- n/a thenify
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/thenables/thenify/commit/0d94a24eb933bc835d568f3009f4d269c4c4c17a
web, patch
-
security.snyk.io
/vuln/SNYK-JS-THENIFY-571690
web, exploit, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-572317
web, exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/
vendor-advisory
-
github.com
/thenables/thenify/blob/master/index.js%23L17
web, broken-link
-
lists.debian.org
/debian-lts-announce/2022/09/msg00039.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7677
advisory
-
github.com
/thenables/thenify/issues/29
web
-
github.com
/thenables/thenify
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK
web
Sources
- CVE List CVE-2020-7677
- GitHub Advisory GHSA-29xr-v42j-r956
- NVD CVE-2020-7677
Fencer Vulns 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.