Name | CVE-2023-28154 |
Description | Webpack 5 before 5.76.0 does not avoid cross-realm object access. ImportParserPlugin.js mishandles the magic comment feature. An attacker who controls a property of an untrusted object can obtain access to the real global object. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1032904 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
node-webpack (PTS) | bullseye | 4.43.0-6+deb11u1 | fixed |
| bookworm | 5.75.0+dfsg+~cs17.16.14-1+deb12u1 | fixed |
| sid, trixie | 5.96.1+dfsg1+~cs11.18.26-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - node-webpack <not-affected> (vulnerable code vm.runInNewContext(`(function(){return {${value}};})()`); is not present. Introduced latter)
https://github.com/webpack/webpack/pull/16500
Merge commit: https://github.com/webpack/webpack/commit/4b4ca3bb53f36a5b8fc6bc1bd976ed7af161bd80 (v5.76.0)