Description
ibm_db is an asynchronous/synchronous interface for node.js to IBM DB2 and IBM Informix. ibm_db before 1.0.2 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://github.com/ibmdb/node-ibm_db/commit/d7e2d4b4cbeb6f067df8bba7d0b2ac5d40fcfc19#diff-315091eb1586966006e05ebc21cd2a94
https://nodesecurity.io/advisories/163
Related Vulnerabilities
CVE-2021-21388 Vulnerability in npm package systeminformation
CVE-2020-24025 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2021-23444 Vulnerability in npm package jointjs
CVE-2016-6796 Vulnerability in maven package org.apache.tomcat:jasper
CVE-2022-20612 Vulnerability in maven package org.jenkins-ci.main:jenkins-core