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);
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312 | Exploit Third Party Advisory |
https://www.npmjs.com/package/mock2easy | Third Party Advisory |
Configurations
Information
Published : 2020-07-29 06:15
Updated : 2021-07-21 04:39
NVD link : CVE-2020-7697
Mitre link : CVE-2020-7697
JSON object : View
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Products Affected
mock2easy_project
- mock2easy