critical9.8
CVE-2020-7677
thenify before 3.3.1 made use of unsafe calls to `eval`.
Impact
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`.
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
| Vendor | Product | Affected versions |
|---|---|---|
| Thenify Project | Thenify | before 3.3.1 |
| Debian | Debian Linux | Version 10.0 |
| Fedoraproject | Fedora | Versions 36, 37 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/thenables/thenify/blob/master/index.js%23L17
- https://github.com/thenables/thenify/commit/0d94a24eb933bc835d568f3009f4d269c4c4c17a
- https://lists.debian.org/debian-lts-announce/2022/09/msg00039.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-572317
- https://security.snyk.io/vuln/SNYK-JS-THENIFY-571690
- https://github.com/advisories/GHSA-29xr-v42j-r956
- https://github.com/thenables/thenify/issues/29
- https://nvd.nist.gov/vuln/detail/CVE-2020-7677
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK