CVE-2020-7697Mock2easy Project Mock2easy
Critical 9.8 No auth needed
Follow: this CVE · Mock2easy Project · Mock2easy Project Mock2easy We alert you by email or Slack (account required).
- 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);
What to do
- Apply the vendor's security update for Mock2easy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| mock2easy_project | mock2easy | all |
Official sources
References
Links published by the sources. Open them with care.
- snyk.io Exploit Third Party Advisory
- www.npmjs.com Third Party Advisory