Remote Code Execution (RCE) Affecting nuxt package, versions >=3.4.0 <3.12.4
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-NUXT-7640974
- published 6 Aug 2024
- disclosed 5 Aug 2024
- credit Ry0taK
Introduced: 5 Aug 2024
CVE-2024-34344 Open this link in a new tabHow to fix?
Upgrade nuxt
to version 3.12.4 or higher.
Overview
Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to insufficient validation of the path
parameter in the NuxtTestComponentWrapper
. An attacker can execute arbitrary JavaScript on the server side, which allows them to execute arbitrary commands when the victim opens a malicious web page in the browser while running the test locally.
Note:
This vulnerability affects only users who open a malicious web page in the browser while running the test locally.
Since web pages can send requests to arbitrary addresses, a malicious web page can repeatedly try to exploit this vulnerability, which then triggers the exploit when the test server starts.