~ / search / GHSA-g4xj-wcq6-qwx5

GHSA-g4xj-wcq6-qwx5

Code injection in mock2easy

Source: GitHub Advisory Database (reviewed) Critical CVE-2020-7697

Packages

EcosystemPackageAffectedFixed in
npm mock2easy <= 0.0.24 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

This affects all versions up to and including version 0.0.24 of package mock2easy. a malicious user could inject commands through the `_data` variable: Affected Area ```js 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);```

References

External links from the advisory. They lead to third-party sites.