Description
Webpack is a module bundler. From version 5.49.0 to before 5.104.0, when experiments.buildHttp is enabled, webpack’s HTTP(S) resolver (HttpUriPlugin) enforces allowedUris only for the initial URL, but does not re-validate allowedUris after following HTTP 30x redirects. As a result, an import that appears restricted to a trusted allow-list can be redirected to HTTP(S) URLs outside the allow-list. This is a policy/allow-list bypass that enables build-time SSRF behavior (requests from the build machine to internal-only endpoints, depending on network access) and untrusted content inclusion in build outputs (redirected content is treated as module source and bundled). This issue has been patched in version 5.104.0.
Mitigation
Minimal update. May introduce new vulnerabilities or breaking changes.
|
 debian 12 | | =5.105.4+dfsg1+~cs15.13.23-1 || =5.105.4+dfsg1+~cs15.13.23-2 || =5.105.4+dfsg1+~cs15.13.23-3 || =5.75.0+dfsg+~cs17.16.14-1 || =5.75.0+dfsg+~cs17.16.14-1+deb12u1 || =5.76.1+dfsg1+~cs17.16.16-1 || =5.76.1+dfsg2+~cs10.8.15-2 || =5.76.1+dfsg2+~cs10.8.15-3 || =5.94.0+dfsg1+~cs11.18.26-1 || =5.94.0+dfsg1+~cs11.18.26-2 || =5.95.0+dfsg1+~cs11.18.26-1 || =5.96.1+dfsg1+~cs11.18.26-1 || =5.97.1+dfsg1+~cs11.18.27-1 || =5.97.1+dfsg1+~cs11.18.27-2 || =5.97.1+dfsg1+~cs11.18.27-3 || =5.97.1+dfsg1+~cs11.18.27-4 | - |
 debian 14 | | =5.105.4+dfsg1+~cs15.13.23-1 || =5.97.1+dfsg1+~cs11.18.27-3 || =5.97.1+dfsg1+~cs11.18.27-4 || >=0 <5.105.4+dfsg1+~cs15.13.23-2 | 5.105.4+dfsg1+~cs15.13.23-2 |
 debian 11 | | =4.43.0-6 || =4.43.0-6+deb11u1 || =4.43.0-7 || =5.105.4+dfsg1+~cs15.13.23-1 || =5.105.4+dfsg1+~cs15.13.23-2 || =5.105.4+dfsg1+~cs15.13.23-3 || =5.58.2+~cs5.11.7-1 || =5.6.0+~cs6.4.0-1~exp1 || =5.6.0+~cs6.4.0-1~exp2 || =5.65.0+dfsg+~cs9.20.9-1 || =5.65.0+dfsg+~cs9.20.9-10 || =5.65.0+dfsg+~cs9.20.9-11 || =5.65.0+dfsg+~cs9.20.9-12 || =5.65.0+dfsg+~cs9.20.9-13 || =5.65.0+dfsg+~cs9.20.9-2 || =5.65.0+dfsg+~cs9.20.9-3 || =5.65.0+dfsg+~cs9.20.9-4 || =5.65.0+dfsg+~cs9.20.9-5 || =5.65.0+dfsg+~cs9.20.9-6 || =5.65.0+dfsg+~cs9.20.9-7 || =5.65.0+dfsg+~cs9.20.9-8 || =5.65.0+dfsg+~cs9.20.9-9 || =5.74.0+dfsg+~cs10.13.6-1 || =5.74.0+dfsg+~cs10.13.6-2 || =5.74.0+dfsg+~cs10.13.6-3 || =5.74.0+dfsg+~cs10.13.6-4 || =5.74.0+repack1+~cs9.13.6-1 || =5.75.0+dfsg+~cs10.3.6-1 || =5.75.0+dfsg+~cs17.16.14-1 || =5.76.1+dfsg1+~cs17.16.16-1 || =5.76.1+dfsg2+~cs10.8.15-2 || =5.76.1+dfsg2+~cs10.8.15-3 || =5.94.0+dfsg1+~cs11.18.26-1 || =5.94.0+dfsg1+~cs11.18.26-2 || =5.95.0+dfsg1+~cs11.18.26-1 || =5.96.1+dfsg1+~cs11.18.26-1 || =5.97.1+dfsg1+~cs11.18.27-1 || =5.97.1+dfsg1+~cs11.18.27-2 || =5.97.1+dfsg1+~cs11.18.27-3 || =5.97.1+dfsg1+~cs11.18.27-4 | - |
 debian 13 | | =5.105.4+dfsg1+~cs15.13.23-1 || =5.105.4+dfsg1+~cs15.13.23-2 || =5.105.4+dfsg1+~cs15.13.23-3 || =5.97.1+dfsg1+~cs11.18.27-3 || =5.97.1+dfsg1+~cs11.18.27-4 | - |
 npm | | | 5.104.0 |
 rpm rhel8 | | - | - |
 rpm rhel8 | | - | - |
 rpm rhel9 | | - | - |
 rpm rhel10 | | - | - |
 rpm rhel8 | | - | - |