Description
nodeschnaps is a NodeJS compatibility layer for Java (Rhino). nodeschnaps 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/212
Related Vulnerabilities
CVE-2023-40787 Vulnerability in maven package org.springblade:blade-core-tool
CVE-2022-28366 Vulnerability in maven package org.codelibs:nekohtml
CVE-2020-28460 Vulnerability in npm package multi-ini
CVE-2020-28283 Vulnerability in npm package libnested
CVE-2022-29078 Vulnerability in maven package org.webjars.npm:ejs