Embedded Malicious Code Affecting @rspack/core package, versions >=1.1.7 <1.1.8


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

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 IDSNYK-JS-RSPACKCORE-8536981
  • published19 Dec 2024
  • disclosed19 Dec 2024
  • creditRspack Team

Introduced: 19 Dec 2024

New Malicious CVE NOT AVAILABLE CWE-506  (opens in a new tab)

How to fix?

Avoid using all malicious instances of the @rspack/core package.

Overview

Affected versions of this package are vulnerable to Embedded Malicious Code which is triggered through the postinstall script. The obfuscated malicious code was located in the file dist/util/support.js and has been removed since version 1.1.8.

CVSS Scores

version 4.0
version 3.1