Description
js-given is a JavaScript frontend to jgiven. js-given 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/241
Related Vulnerabilities
CVE-2019-16869 Vulnerability in maven package org.jboss.netty:netty
CVE-2016-10566 Vulnerability in npm package install-nw
CVE-2020-19697 Vulnerability in maven package org.webjars.npm:editor.md
CVE-2020-6423 Vulnerability in npm package electron
CVE-2022-43410 Vulnerability in maven package org.jenkins-ci.plugins:mercurial