CVE-2020-7677
JSON

8.6high

Arbitrary Code Execution

Severity
8.6high CVSS:3.1 by snyk
Exploit likelihood
2.10% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-29xr-v42j-r956

Description

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.

Affected

Product or packageVersionsReported by
thenifyfrom unspecified before 3.3.1CVE List
thenify (npm)before 3.3.1GitHub Advisory Database
org.webjars.npm:thenify (Maven)before 3.3.1GitHub Advisory Database
thenify_project thenifybefore 3.3.1NVD
debian debian_linux10.0NVD
fedoraproject fedora36, 37NVD

All scores

snyk8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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.

GitHub Advisory Database

Versions of thenify prior to 3.3.1 made use of unsafe calls to eval. Untrusted user input could thus lead to arbitrary code execution on the host. The patch in version 3.3.1 removes calls to eval.

NVD (es)

Esto afecta al paquete thenify antes de la versión 3.3.1. El argumento del nombre proporcionado al paquete puede ser controlado por los usuarios sin ningún tipo de sanitización, y este es proporcionado a la función eval sin ninguna sanitización

References

https://security.snyk.io/vuln/SNYK-JS-THENIFY-571690exploit, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-572317exploit, third-party-advisory, web
https://github.com/thenables/thenify/blob/master/index.js%23L17broken-link, web
https://github.com/thenables/thenify/commit/0d94a24eb933bc835d568f3009f4d269c4c4c17apatch, web
https://lists.debian.org/debian-lts-announce/2022/09/msg00039.htmlmailing-list, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2020-7677advisory
https://github.com/thenables/thenify/issues/29web
https://github.com/thenables/thenifypackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLKweb

Sources

SourceRecordLicence
CVE ListCVE-2020-7677 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-29xr-v42j-r956 changed 2026-05-05CC-BY-4.0
NVDCVE-2020-7677 changed 2026-06-17Public domain