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-2018-3766 Vulnerability in npm package buttle
CVE-2023-38691 Vulnerability in npm package matrix-appservice-bridge
CVE-2019-10779 Vulnerability in maven package stroom:stroom-app
CVE-2020-28446 Vulnerability in npm package ntesseract
CVE-2022-36077 Vulnerability in maven package org.webjars.npm:electron