Live threats

All CVEs / Mock2easy Project

CVE-2020-7697Mock2easy Project Mock2easy

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Jul 29, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Mock2easy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mock2easy ≤ 0.0.24 no fixed version —

Per OSV / GitHub Advisories (GHSA-g4xj-wcq6-qwx5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mock2easy_projectmock2easyall

Official sources

References

Links published by the sources. Open them with care.