CVE-2020-7697
Summary
| CVE | CVE-2020-7697 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-07-29 13:15:00 UTC |
| Updated | 2021-07-21 11:39:00 UTC |
| Description | This affects all versions of package mock2easy. a malicious user could inject commands through the _data variable: Affected Area require('../server/getJsonByCurl')(mock2easy, function (error, stdout) { if (error) { return res.json(500, error); } res.json(JSON.parse(stdout)); }, '', _data.interfaceUrl, query, _data.cookie,_data.interfaceType); |
Risk And Classification
Problem Types: CWE-77
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mock2easy Project | Mock2easy | All | All | All | All |
| Application | Mock2easy Project | Mock2easy | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Command Injection in mock2easy | Snyk | MISC | snyk.io | Exploit, Third Party Advisory |
| mock2easy | MISC | www.npmjs.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Snyk Security Team
Legacy QID Mappings
- 981861 Nodejs (npm) Security Update for mock2easy (GHSA-g4xj-wcq6-qwx5)