Description
curses is bindings for the native curses library, a full featured console IO library. curses 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/215
Related Vulnerabilities
CVE-2018-11771 Vulnerability in maven package org.apache.commons:commons-compress
CVE-2018-1000174 Vulnerability in maven package org.jenkins-ci.plugins:google-login
CVE-2023-31719 Vulnerability in npm package @frangoteam/fuxa
CVE-2021-21165 Vulnerability in maven package org.webjars.npm:electron
CVE-2022-45396 Vulnerability in maven package com.thalesgroup.hudson.plugins:sourcemonitor