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-2020-8244 Vulnerability in maven package org.webjars.npm:bl
CVE-2021-21166 Vulnerability in maven package org.webjars.npm:electron
CVE-2022-4725 Vulnerability in maven package com.amazonaws:aws-android-sdk-core
CVE-2016-4432 Vulnerability in maven package org.apache.qpid:qpid-broker-plugins-amqp-0-8-protocol
CVE-2016-10735 Vulnerability in maven package org.webjars.bower:bootstrap