Description
dwebp-bin is a dwebp node.js wrapper that convert WebP into PNG. dwebp-bin 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://nodesecurity.io/advisories/232
Related Vulnerabilities
CVE-2022-42889 Vulnerability in maven package org.apache.commons:commons-text
CVE-2021-21331 Vulnerability in maven package com.datadoghq:datadog-api-client
CVE-2016-10681 Vulnerability in npm package roslib-socketio
CVE-2017-16172 Vulnerability in npm package section2.madisonjbrooks12
CVE-2022-23710 Vulnerability in maven package org.elasticsearch:elasticsearch