Symfony Stimulus Bridge
Monthly
Build-time code execution in @symfony/stimulus-bridge before 4.0.3 lets a malicious or compromised npm package listed in a project's controllers.json run arbitrary code on the developer machine or CI server whenever a Webpack or Symfony Encore build is executed. The loader resolves `<package>/package.json` through the package's Node `exports` field, so a package can map that subpath to a JavaScript file which `require()` executes - this bypasses install-script protections entirely, since no package-manager install hook is involved. Successful execution can read build files and environment variables such as CI secrets and can alter the built assets; the flaw is strictly build-time and does not affect browsers or end users, and it requires that the attacker first gain control of a referenced controller dependency and that a build actually be run. No public exploit code identified at time of analysis; the vendor has released the fix in 4.0.3 and the priority decision is to remediate this week.
Build-time arbitrary code execution in Symfony Stimulus Bridge (@symfony/stimulus-bridge) versions before 4.0.3 lets an attacker who can get a crafted Stimulus controller carrying a malicious stimulus* magic comment into a Webpack or Symfony Encore build run Node.js code with the build user's permissions. The flaw is limited to the build process and does not affect browsers or end users; realistic paths are a compromised npm dependency or an untrusted pull request that triggers CI. No public exploit identified at time of analysis.
Build-time code execution in @symfony/stimulus-bridge before 4.0.3 lets a malicious or compromised npm package listed in a project's controllers.json run arbitrary code on the developer machine or CI server whenever a Webpack or Symfony Encore build is executed. The loader resolves `<package>/package.json` through the package's Node `exports` field, so a package can map that subpath to a JavaScript file which `require()` executes - this bypasses install-script protections entirely, since no package-manager install hook is involved. Successful execution can read build files and environment variables such as CI secrets and can alter the built assets; the flaw is strictly build-time and does not affect browsers or end users, and it requires that the attacker first gain control of a referenced controller dependency and that a build actually be run. No public exploit code identified at time of analysis; the vendor has released the fix in 4.0.3 and the priority decision is to remediate this week.
Build-time arbitrary code execution in Symfony Stimulus Bridge (@symfony/stimulus-bridge) versions before 4.0.3 lets an attacker who can get a crafted Stimulus controller carrying a malicious stimulus* magic comment into a Webpack or Symfony Encore build run Node.js code with the build user's permissions. The flaw is limited to the build process and does not affect browsers or end users; realistic paths are a compromised npm dependency or an untrusted pull request that triggers CI. No public exploit identified at time of analysis.