Description
Kindlegen is a simple Node.js wrapper of the official kindlegen program. Kindlegen versions before 1.1.0 download 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/251
Related Vulnerabilities
CVE-2016-10541 Vulnerability in npm package shell-quote
CVE-2022-21211 Vulnerability in npm package posix
CVE-2020-6858 Vulnerability in maven package com.hotels.styx:styx-server
CVE-2020-35460 Vulnerability in maven package net.sf.mpxj:mpxj
CVE-2020-1950 Vulnerability in maven package org.apache.tika:tika-parsers