Command Injection
Published Jul 29, 2020
9.8
CRITICALCVSS 3.1
EPSS 2.04%
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 products
- Vendor n/a Product Mock2easy Defaultn/a
- Version 0StatusaffectedConstraints<unspecified
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Mock2easy | n/a |
|
- n/a
No data.
No Red Hat product state for this CVE.
mock2easy
npm
Introduced 0 Fixed not fixed
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | mock2easy | 0 | not fixed |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (CVE.org) ▾
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
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.04% (0.02044) | 80.46th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.04% (0.02044) | 78.59th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.50% (0.00500) | 76.56th | v3 (v2023.03.01) |
| Jul 5, 2024 | 0.50% (0.00500) | 76.49th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.40% (0.00395) | 72.73th | v3 (v2023.03.01) |
| Dec 2, 2023 | 0.40% (0.00395) | 70.42th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.33% (0.00327) | 67.10th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.23% (0.00230) | 59.36th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 9.03% (0.09029) | 86.86th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.74% (0.02742) | 63.06th | v5 (v2026.06.15) |
| Jan 6, 2022 | 2.74% (0.02742) | 62.72th | v1 |
| Sep 1, 2021 | 0.62% (0.00624) | 45.04th | v1 |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (5)
- https://github.com/advisories/GHSA-g4xj-wcq6-qwx5 Advisory
- https://github.com/appLhui/mock2easy/blob/1da728fa0f61cc29fb415f0677e54ad4902261d3/routes/index.js#L132-L139
- https://nvd.nist.gov/vuln/detail/CVE-2020-7697
- https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312 x_refsource_MISCExploitThird Party Advisory
- https://www.npmjs.com/package/mock2easy x_refsource_MISCThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-g4xj-wcq6-qwx5 | Advisory | |
| https://github.com/appLhui/mock2easy/blob/1da728fa0f61cc29fb415f0677e54ad4902261d3/routes/index.js#L132-L139 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2020-7697 | ||
| https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312 | x_refsource_MISCExploitThird Party Advisory | |
| https://www.npmjs.com/package/mock2easy | x_refsource_MISCThird Party Advisory |
Change history (0)
No recorded changes yet.