Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Command Injection in nvm via NVM_AUTH_HEADER in wget code path
Vulnerability Description
A command injection vulnerability exists in nvm (Node Version Manager) versions 0.40.3 and below. The nvm_download() function uses eval to execute wget commands, and the NVM_AUTH_HEADER environment variable was not sanitized in the wget code path (though it was sanitized in the curl code path). An attacker who can set environment variables in a victim's shell environment (e.g., via malicious CI/CD configurations, compromised dotfiles, or Docker images) can inject arbitrary shell commands that execute when the victim runs nvm commands that trigger downloads, such as 'nvm install' or 'nvm ls-remote'.
CVSS Information
N/A
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Node Version Manager 安全漏洞
Vulnerability Description
Node Version Manager是nvm.sh开源的一个节点版本管理器。 Node Version Manager 0.40.3及之前版本存在安全漏洞,该漏洞源于nvm_download函数使用eval执行wget命令且NVM_AUTH_HEADER环境变量未清理,可能导致命令注入。
CVSS Information
N/A
Vulnerability Type
N/A