What’s Vulnerable › Vulnerabilities
CVE-2020-7697: Command Injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-07-29 · updated 2026-06-17
- Weakness: CWE-77
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);
Affected products
- mock2easy: all versions
References
- https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312
- https://www.npmjs.com/package/mock2easy
- https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312
- https://www.npmjs.com/package/mock2easy
Get alerted when CVE-2020-7697 or the next vulnerability affects your stack