3.7 LOW
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): HIGH
- Privileges required (PR): LOW
- User interaction (UI): REQUIRED
- Scope (S): UNCHANGED
- Confidentiality impact (C): LOW
- Integrity impact (I): LOW
- Availability impact (A): NONE
by @LeSuisse Activity log
- Created automatic suggestion
-
@LeSuisse
removed
6 packages
- perlPackages.MojoliciousPluginWebpack
- python312Packages.django-webpack-loader
- python313Packages.django-webpack-loader
- python314Packages.django-webpack-loader
- perl538Packages.MojoliciousPluginWebpack
- perl540Packages.MojoliciousPluginWebpack
- @LeSuisse dismissed
webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior
Webpack is a module bundler. From version 5.49.0 to before 5.104.1, when experiments.buildHttp is enabled, webpack’s HTTP(S) resolver (HttpUriPlugin) can be bypassed to fetch resources from hosts outside allowedUris by using crafted URLs that include userinfo (username:password@host). If allowedUris enforcement relies on a raw string prefix check (e.g., uri.startsWith(allowed)), a URL that looks allow-listed can pass validation while the actual network request is sent to a different authority/host after URL parsing. This is a policy/allow-list bypass that enables build-time SSRF behavior (outbound requests from the build machine to internal-only endpoints, depending on network access) and untrusted content inclusion (the fetched response is treated as module source and bundled). This issue has been patched in version 5.104.1.
References
- https://github.com/webpack/webpack/security/advisories/GHSA-8fgc-7cc6-rx7x x_refsource_CONFIRM
- https://github.com/webpack/webpack/security/advisories/GHSA-8fgc-7cc6-rx7x x_refsource_CONFIRM
Affected products
- ==>= 5.49.0, < 5.104.1
Matching in nixpkgs
pkgs.webpack-cli
Webpack's Command Line Interface
pkgs.nodePackages.webpack
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
pkgs.nodePackages_latest.webpack
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Package maintainers
-
@pyrox0 Pyrox <pyrox@pyrox.dev>