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://github.com/peterbraden/node-opencv/commit/81a4b8620188e89f7e4fc985f3c89b58d4bcc86b
https://github.com/peterbraden/node-opencv/commit/aaece6921d7368577511f06c94c99dd4e9653563
https://www.npmjs.com/advisories/789
Related Vulnerabilities
CVE-2018-1000118 Vulnerability in maven package org.webjars.npm:electron
CVE-2023-26108 Vulnerability in npm package @nestjs/core
CVE-2022-44729 Vulnerability in maven package org.apache.xmlgraphics:batik-bridge
CVE-2020-36180 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2022-45470 Vulnerability in maven package org.apache.hama:hama-core