Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Regular Expression Denial of Service (ReDoS)

CVSS 3.1 3.7 LOWEUVD CVSS 3.1 3.7 CVSS 3.1 · 36c7be3b-2937-45df-85ea-ca7133ea542c · Secondary 3.7 LOWCVSS_V3 CVSS_V4 Publisher rating LOWFixed by vue 3.0.0-alpha.0KEV status unknown

cve-program · CVE-2024-9506

Published

Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.

Read the publisher's advisory

euvd · EUVD-2024-2953

Published

Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.

Read the publisher's advisory

nvd · CVE-2024-9506

Published

Improper regular expression in Vue's parseHTML function leads to a potential regular expression denial of service vulnerability.

Read the publisher's advisory

osv · GHSA-5j4c-8p2g-v4jx

Published

The ReDoS can be exploited through the `parseHTML` function in the `html-parser.ts` file. This flaw allows attackers to slow down the application by providing specially crafted input that causes inefficient processing of regular expressions, leading to excessive resource consumption. To demonstrate this vulnerability, here's an example. In a Vue client-side application, create a new Vue instance with a template string that includes a `<script>` tag but closes it incorrectly with something like `</textarea>`. ```javascript new Vue({ el: '#app', template: ' <div> Hello, world! <script>${'<'.repeat(1000000)}</textarea> </div>' }); ``` Next, set up a basic HTML page (e.g., index.html) to load this JavaScript and mount the Vue instance: ```html <!DOCTYPE html> <html> <head> <title>My first Vue app</title> </head> <body> <div id=\"app\">Loading...</div> </body> </html> ``` When you visit the app in your browser at http://localhost:3000, you'll notice that the time taken to parse and mount the Vue application increases significantly due to the ReDoS vulnerability, demonstrating how the flaw can affect performance.

Read the publisher's advisory

Affected versions, risk and source history

Related advisories and sources

Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.

CVE-2024-9506 · CVE overview and exploitation status

EUVD-2024-2953

GHSA-5j4c-8p2g-v4jx

cve-program · CVE-2024-9506

euvd · EUVD-2024-2953

nvd · CVE-2024-9506

osv · GHSA-5j4c-8p2g-v4jx

Related changes

Linked by CVE identifier

No related changes are available here.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 16 Nov 13:53 UTC · 274 of 275 readable · 250 fully read · 20 waiting for GitHub's hourly limit · documentation 469/469 current