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-2022-41854 Vulnerability in maven package org.yaml:snakeyaml
CVE-2019-10365 Vulnerability in maven package org.jenkins-ci.plugins:google-kubernetes-engine
CVE-2021-34429 Vulnerability in maven package org.eclipse.jetty:jetty-webapp
CVE-2017-5617 Vulnerability in maven package org.openstreetmap.josm:josm
CVE-2021-37533 Vulnerability in maven package commons-net:commons-net