Security mailing lists by PureSourceCode

CVE-2020-7697

CRITICAL 9.8CVSS 3.1

Code injection in mock2easy

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);

Published
29 Jul 2020
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-77
Also known as
GHSA-g4xj-wcq6-qwx5
Sources
NVDJSONOSV GHSA-g4xj-wcq6-qwx5JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mock2easy_project mock2easy
cpe:2.3:a:mock2easy_project:mock2easy:*:*:*:*:*:node.js:*:*
all versions
OSV npm mock2easy <= 0.0.24

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 29 Jul 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.