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.
Remediation
References
https://www.npmjs.com/advisories/789
https://github.com/peterbraden/node-opencv/commit/aaece6921d7368577511f06c94c99dd4e9653563
https://github.com/peterbraden/node-opencv/commit/81a4b8620188e89f7e4fc985f3c89b58d4bcc86b
Related Vulnerabilities
CVE-2021-34801 Vulnerability in npm package valine
CVE-2019-10768 Vulnerability in maven package org.webjars.npm:angular
CVE-2022-28355 Vulnerability in maven package org.scala-js:scalajs-library_2.13
CVE-2018-11307 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2023-26128 Vulnerability in npm package keep-module-latest