CVE-2019-10061
utils/find-opencv.js in node-opencv (aka OpenCV bindings for Node.js) ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
utils/find-opencv.js in node-opencv (aka OpenCV bindings for Node.js) prior to 6.1.0 is vulnerable to Command Injection. It does not validate user input allowing attackers to execute arbitrary commands.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | opencv | 6.1.0 |
| debian 11 | node-opencv | 6.0.0+git20180416.cfc96ba0-3 |
| debian 12 | node-opencv | 6.0.0+git20180416.cfc96ba0-3 |
| debian 13 | node-opencv | 6.0.0+git20180416.cfc96ba0-3 |
| debian 14 | node-opencv | 6.0.0+git20180416.cfc96ba0-3 |
| echo | node-opencv | 6.0.0+git20180416.cfc96ba0-3 |
References
- https://github.com/peterbraden/node-opencv
- https://github.com/peterbraden/node-opencv/commit/81a4b8620188e89f7e4fc985f3c89b58d4bcc86b
- https://github.com/peterbraden/node-opencv/commit/aaece6921d7368577511f06c94c99dd4e9653563
- https://nvd.nist.gov/vuln/detail/CVE-2019-10061
- https://www.npmjs.com/advisories/789
- https://www.npmjs.com/package/opencv