{"id":"CVE-2020-7677","aliases":["CVE-2020-7677","GHSA-29xr-v42j-r956"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-07-18T19:15:29.000Z","modified":"2026-06-17T03:25:14.877Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.3.1","status":"affected"}],"product":"thenify","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.1"}],"ecosystem":"npm","package":"thenify","purl":"pkg:npm/thenify","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.1"}],"ecosystem":"Maven","package":"org.webjars.npm:thenify","purl":"pkg:maven/org.webjars.npm/thenify","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.1"}],"vendor":"thenify_project","product":"thenify","cpe":"cpe:2.3:a:thenify_project:thenify:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"36"},{"status":"affected","version":"37"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-THENIFY-571690","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-572317","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/thenables/thenify/blob/master/index.js%23L17","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/thenables/thenify/commit/0d94a24eb933bc835d568f3009f4d269c4c4c17a","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00039.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7677","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/thenables/thenify/issues/29","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/thenables/thenify","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK","tags":["web"],"sources":["ghsa"]}],"credits":["JHU System Security Lab"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7677","url":"https://www.cve.org/CVERecord?id=CVE-2020-7677","licence":"CVE Terms of Use","modified":"2024-09-16T17:34:23.113Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-29xr-v42j-r956","url":"https://github.com/advisories/GHSA-29xr-v42j-r956","licence":"CC-BY-4.0","modified":"2026-05-05T15:58:36.783Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7677","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7677","licence":"Public domain","modified":"2026-06-17T03:25:14.877Z"}],"updatedAt":"2026-11-25T22:57:58.690Z","epss":{"score":0.02099,"percentile":0.82232,"date":"2026-12-01T12:00:22.000Z"}}