Description
robot-js is a module for native system automation for node.js. robot-js 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 binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/201
Related Vulnerabilities
CVE-2020-35217 Vulnerability in maven package io.vertx:vertx-web
CVE-2018-1282 Vulnerability in maven package org.apache.hive:hive-jdbc
CVE-2021-23374 Vulnerability in npm package ps-visitor
CVE-2012-3451 Vulnerability in maven package org.apache.cxf:cxf-rt-bindings-soap
CVE-2019-14893 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind