Описание
windows-build-tools downloads Resources over HTTP
Affected versions of windows-build-tools insecurely download an executable over an unencrypted HTTP connection.
In scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running windows-build-tools.
Recommendation
Update to version 1.0.0 or later.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2017-16003
- https://github.com/felixrieseberg/windows-build-tools/commit/9835d33e68f2cb5e4d148e954bb3ed0221d98e90
- https://github.com/felixrieseberg/windows-build-tools/commit/9835d33e68f2cb5e4d148e954bb3ed0221d98e90)
- https://github.com/advisories/GHSA-9p47-w5xp-f4xr
- https://www.npmjs.com/advisories/304
Пакеты
windows-build-tools
< 1.0.0
1.0.0
Связанные уязвимости
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.