Description
imageoptim is a Node.js wrapper for some images compression algorithms. imageoptim downloads zipped 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 tarball with an attacker controlled tarball if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/194
Related Vulnerabilities
CVE-2021-33611 Vulnerability in maven package org.webjars.bowergithub.vaadin:vaadin-menu-bar
CVE-2022-45470 Vulnerability in maven package org.apache.hama:hama-core
CVE-2023-51079 Vulnerability in maven package org.mvel:mvel2
CVE-2016-10735 Vulnerability in maven package org.webjars.npm:bootstrap
CVE-2022-22968 Vulnerability in maven package org.springframework:spring-context