Command Injection

Affecting mock2easy package, ALL versions

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

Affected versions of this package are vulnerable to Command Injection 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);

Remediation

There is no fixed version for mock2easy.

References

CVSS Score

9.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:C
Credit
Snyk Security Team
CVE
CVE-2020-7697
CWE
CWE-79
Snyk ID
SNYK-JS-MOCK2EASY-572312
Disclosed
15 Jun, 2020
Published
23 Jul, 2020