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-2023-26129 Vulnerability in npm package bwm-ng
CVE-2018-1002204 Vulnerability in npm package adm-zip
CVE-2020-26291 Vulnerability in maven package org.webjars.bower:urijs
CVE-2022-33987 Vulnerability in maven package org.webjars.npm:got
CVE-2021-21297 Vulnerability in npm package @node-red/runtime