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-2021-22112 Vulnerability in maven package org.springframework.security:spring-security-core
CVE-2022-46175 Vulnerability in npm package json5
CVE-2020-7720 Vulnerability in npm package node-forge
CVE-2023-22467 Vulnerability in npm package luxon
CVE-2018-1000193 Vulnerability in maven package org.jenkins-ci.main:jenkins-core