Description
windows-build-tools is a module for installing C++ Build Tools for Windows using npm. windows-build-tools versions below 1.0.0 download 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 resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://github.com/felixrieseberg/windows-build-tools/commit/9835d33e68f2cb5e4d148e954bb3ed0221d98e90
https://nodesecurity.io/advisories/304
Related Vulnerabilities
CVE-2022-25914 Vulnerability in maven package com.google.cloud.tools:jib-core
CVE-2016-8738 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2023-38992 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-common
CVE-2012-3451 Vulnerability in maven package org.apache.cxf:cxf-bundle-minimal
CVE-2011-2088 Vulnerability in maven package org.apache.struts.xwork:xwork-core