Severity
7.5
High severity
Details
- CVSS score
- 7.5
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Overview
About vulnerability
Serialize JavaScript to a superset of JSON that includes regular expressions and functions. Prior to version 7.0.5, there is a Denial of Service (DoS) vulnerability caused by CPU exhaustion. When serializing a specially crafted “array-like” object (an object that inherits from Array.prototype but has a very large length property), the process enters an intensive loop that consumes 100% CPU and hangs indefinitely. This issue has been patched in version 7.0.5.Details
- Affected product:
- Next.js , Vue , astro , autodll-webpack-plugin , babel-loader , cache-loader , cli , file-loader , friendly-errors-webpack-plugin , nuxt , optimize-css-assets-webpack-plugin , progress-bar-webpack-plugin , serialize-javascript , terser-webpack-plugin , uglifyjs-webpack-plugin , webpack , webpack-dev-middleware , webpack-dev-server , webpack-subresource-integrity , webpackbar
- Affected packages:
- serialize-javascript (+79 more)