{"id":"CVE-2020-7677","aliases":["DEBIAN-CVE-2020-7677","DLA-3128-1","EUVD-2022-6206","GHSA-29xr-v42j-r956","MGASA-2025-0194","UBUNTU-CVE-2020-7677","USN-6016-1"],"status":"published","title":"Arbitrary Code Execution","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.","severity":{"version":"3.1","score":8.6,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.02082,"percentile":0.81784,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2022-07-18T19:15:29Z","modified":"2026-10-26T12:02:15Z","fixes":[{"ecosystem":"npm","package":"thenify","fixed_in":["3.3.1"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.webjars.npm:thenify","fixed_in":["3.3.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-thenify","fixed_in":["3.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-thenify","fixed_in":["3.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-thenify","fixed_in":["3.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"node-thenify","fixed_in":["3.3.0-1+deb10u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"node-thenify","fixed_in":["3.3.0-1+deb10u1build0.18.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-thenify","fixed_in":["3.3.0-1+deb10u1build0.20.04.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.webjars.npm:thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1+deb10u1"}]}],"versions":["3.3.0-1"]},{"source":"osv","ecosystem":"npm","package":"thenify","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.webjars.npm:thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}],"versions":["3.1.0","3.3.0"]},{"source":"osv","ecosystem":"Mageia:9","package":"yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.22-0.10.9.2.1.mga9"}]}],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1+deb10u1build0.18.04.1"}]}],"versions":["3.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1+deb10u1build0.20.04.1"}]}],"versions":["3.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1+deb10u1build0.18.04.1"}]}],"versions":["3.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-thenify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1+deb10u1build0.20.04.1"}]}],"versions":["3.3.0-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"thenify_project","product":"thenify"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-THENIFY-571690","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-572317","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://github.com/thenables/thenify/blob/master/index.js%23L17","tags":["x_transferred","Broken Link","web","report"]},{"url":"https://github.com/thenables/thenify/commit/0d94a24eb933bc835d568f3009f4d269c4c4c17a","tags":["x_transferred","Patch","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00039.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://github.com/thenables/thenify/issues/29","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7677","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK","tags":["web"]},{"url":"https://github.com/advisories/GHSA-29xr-v42j-r956"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-7677","tags":["advisory"]},{"url":"https://github.com/thenables/thenify","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2025-0194.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33674","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2UGLXZO6VIHGIITQTEUY5Q5YCAP2A4ZP/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VEDIJM7VQF4Q2L2KKQ6KJ2WZNR7AXYQD/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-7677","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6016-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7677","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-7677","title":"Arbitrary Code Execution","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.","status":"published","published":"2022-07-25T14:08:22.131Z","modified":"2024-09-16T17:34:23.113Z","cvss":[{"version":"3.1","score":8.6,"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","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2022-6206","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.","status":"published","published":"2022-07-25T14:08:22Z","modified":"2024-09-16T17:34:23Z","cvss":[{"version":"3.1","score":8.6,"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","level":"high"}],"updated_at":"2026-11-03T00:55:40.580982Z"}],"ghsa":[{"id":"GHSA-29xr-v42j-r956","title":"thenify before 3.3.1 made use of unsafe calls to `eval`.","description":"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`.","status":"published","published":"2022-07-18T19:15:29Z","modified":"2026-04-24T20:58:07Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:39:57.650091Z"}],"nvd":[{"id":"CVE-2020-7677","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.","status":"published","published":"2022-07-25T14:15:10.047Z","modified":"2026-06-17T03:25:14.877Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"updated_at":"2026-11-02T14:06:46.951463Z"}],"osv":[{"id":"CVE-2020-7677","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.","status":"published","published":"2022-07-25T14:15:10.047Z","modified":"2026-10-20T10:54:24.205936478Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"DEBIAN-CVE-2020-7677","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.","status":"published","published":"2022-07-25T14:15:10.047Z","modified":"2026-10-26T12:02:15.666602774Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"GHSA-29xr-v42j-r956","title":"thenify before 3.3.1 made use of unsafe calls to `eval`.","description":"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`.","status":"published","published":"2022-07-18T19:15:29Z","modified":"2026-05-05T15:58:36.783815Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"UBUNTU-CVE-2020-7677","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.","status":"published","published":"2022-07-25T14:15:00Z","modified":"2026-02-04T04:08:08.996418Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"DLA-3128-1","title":"node-thenify - security update","status":"published","published":"2022-10-01T00:00:00Z","modified":"2026-03-09T01:18:22.925226Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2025-0194","title":"Updated yarnpkg packages fix security vulnerabilities","description":"CVE-2024-37890 yarnpkg: denial of service when handling a request with\nmany HTTP headers.\nCVE-2024-48949 yarnpkg: Missing Validation in Elliptic's EDDSA Signature\nVerification.\nCVE-2024-12905 yarnpkg: link following and path traversal via\nmaliciously crafted tar file\nAnd other vulnerabilities in the yarn's bundled nodejs components are\nfixed too, see the references.\n","status":"published","published":"2025-06-25T05:31:45Z","modified":"2026-04-16T04:42:54.764506997Z","updated_at":"2026-11-02T15:49:43.178336Z"},{"id":"USN-6016-1","title":"node-thenify vulnerability","description":"It was discovered that thenify incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to execute\narbitrary code.\n","status":"published","published":"2023-04-13T17:23:24Z","modified":"2026-02-10T04:43:04Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
