Description
herbivore is a packet sniffing and crafting library. Built on libtins herbivore 0.0.3 and below 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 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://github.com/samatt/Herbivore/commit/0a041defc3463e99948e5d2064aef54b2128c5a3
https://nodesecurity.io/advisories/258
Related Vulnerabilities
CVE-2022-23496 Vulnerability in maven package nl.basjes.parse.useragent:yauaa-logparser
CVE-2015-8315 Vulnerability in npm package ms
CVE-2021-46361 Vulnerability in maven package info.magnolia:magnolia-core
CVE-2019-13990 Vulnerability in maven package org.quartz-scheduler.internal:quartz-core
CVE-2021-29442 Vulnerability in maven package com.alibaba.nacos:nacos-common