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-2020-36378 Vulnerability in npm package aaptjs
CVE-2018-3774 Vulnerability in npm package url-parse
CVE-2021-29441 Vulnerability in maven package com.alibaba.nacos:nacos-common
CVE-2019-5438 Vulnerability in npm package harp
CVE-2023-25330 Vulnerability in maven package com.baomidou:mybatis-plus-extension