CVE-2020-7781 json
Command Injection
published 2020-12-16 5 y ago modified 2026-07-08 4 mo ago also GHSA-w5mp-8p8w-mhh8 , EUVD-2020-1508
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
This affects the package connection-tester before 0.2.1. The injection point is located in line 15 in index.js. The following PoC demonstrates the vulnerability:
Patch / fix
- npm connection-tester 0.2.1
- n/a connection-tester 0.2.1
- github.com/skoranga/node-connection-tester#10 pull request
Exploit prediction
1.99% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-CONNECTIONTESTER-1048337 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| 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 | connection-tester | <0.2.1 |
0.2.1 |
Affected products
- n/a connection-tester
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/skoranga/node-connection-tester/pull/10
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-CONNECTIONTESTER-1048337
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7781
advisory
Sources
- CVE List CVE-2020-7781
- GitHub Advisory GHSA-w5mp-8p8w-mhh8
- NVD CVE-2020-7781
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.