Description
native-opencv is the OpenCV library installed via npm native-opencv downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/263
Related Vulnerabilities
CVE-2015-6524 Vulnerability in maven package org.apache.activemq:activemq-jaas
CVE-2017-5636 Vulnerability in maven package org.apache.nifi:nifi-web-security
CVE-2020-2268 Vulnerability in maven package org.jenkins-ci.plugins:mongodb
CVE-2021-27568 Vulnerability in maven package net.minidev:json-smart
CVE-2021-21409 Vulnerability in maven package io.netty:netty-codec-http2