CVE-2024-52810
Description
@intlify/shared is a shared library for the intlify project. The latest version of @intlify/shared (10.0.4) is vulnerable to Prototype Pollution through the entry function(s) lib.deepCopy. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) as the minimum consequence. Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's context. This issue has been addressed in versions 9.14.2, and 10.0.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.
How to fix
- @intlify/shared9.14.2, 10.0.5 or later
- @intlify/vue-i18n-core9.14.2, 10.0.5 or later
- vue-i18n9.14.2, 10.0.5 or later
- petite-vue-i18n10.0.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @intlify/sharednpm | 9.7.0 ≤ v < 9.14.2, 10.0.0 ≤ v < 10.0.5 | 9.14.2, 10.0.5 |
| @intlify/vue-i18n-corenpm | 9.7.0 ≤ v < 9.14.2, 10.0.0 ≤ v < 10.0.5 | 9.14.2, 10.0.5 |
| vue-i18nnpm | 9.7.0 ≤ v < 9.14.2, 10.0.0 ≤ v < 10.0.5 | 9.14.2, 10.0.5 |
| petite-vue-i18nnpm | 10.0.0 ≤ v < 10.0.5 | 10.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.