Vulnerability · Published Nov 29, 2024 · Assigned by GitHub_M
CVE-2024-52810Prototype Pollution in @intlify/shared >=9.7.0 <= 10.0.4
Medium 6.9
In plain English
A medium-severity prototype pollution in vue-i18n from intlify. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @intlify/shared | 10.0.5 | GHSA-hjwq-mjwj-4x6c |
| npm | @intlify/shared | 9.14.2 | GHSA-hjwq-mjwj-4x6c |
| npm | @intlify/vue-i18n-core | 9.14.2 | GHSA-hjwq-mjwj-4x6c |
| npm | @intlify/vue-i18n-core | 10.0.5 | GHSA-hjwq-mjwj-4x6c |
| npm | petite-vue-i18n | 10.0.5 | GHSA-hjwq-mjwj-4x6c |
| npm | vue-i18n | 9.14.2 | GHSA-hjwq-mjwj-4x6c |
| npm | vue-i18n | 10.0.5 | GHSA-hjwq-mjwj-4x6c |
Affected products (as reported)
Weakness: CWE-1321 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N