Description
pm2-kafka is a PM2 module that installs and runs a kafka server pm2-kafka 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/299
Related Vulnerabilities
CVE-2021-39151 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2022-31830 Vulnerability in npm package kityminder
CVE-2020-36181 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2021-32769 Vulnerability in maven package io.micronaut:micronaut-core
CVE-2017-20151 Vulnerability in maven package com.itextpdf:itext-rups