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-2016-0760 Vulnerability in maven package org.apache.sentry:sentry-binding-hive
CVE-2017-16226 Vulnerability in npm package static-eval
CVE-2022-31129 Vulnerability in maven package org.webjars.npm:moment
CVE-2018-20677 Vulnerability in maven package org.webjars:bootstrap-sass
CVE-2022-36881 Vulnerability in maven package org.jenkins-ci.plugins:git-client