CVEvulnerability
CVE-2020-7697
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2020-07-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- 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 configurations
• mock2easy project mock2easy
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312 Exploit, Third Party Advisory
- https://www.npmjs.com/package/mock2easy Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312 Exploit, Third Party Advisory
- https://www.npmjs.com/package/mock2easy Third Party Advisory