Skip to content
OpenAdvisories
Medium · 6.9 CVE-2024-52810 EUVD-2024-3480GHSA-hjwq-mjwj-4x6c

Prototype Pollution in @intlify/shared >=9.7.0 <= 10.0.4

Published Nov 29, 2024 · Updated Dec 3, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
intlify vue-i18n >= 9.7.0, < 9.14.2, >= 10.0.0, < 10.0.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @intlify/shared >= 9.7.0, < 9.14.2 9.14.2 GHSA-hjwq-mjwj-4x6c
npm @intlify/shared >= 10.0.0, < 10.0.5 10.0.5 GHSA-hjwq-mjwj-4x6c
npm @intlify/vue-i18n-core >= 9.7.0, < 9.14.2 9.14.2 GHSA-hjwq-mjwj-4x6c
npm @intlify/vue-i18n-core >= 10.0.0, < 10.0.5 10.0.5 GHSA-hjwq-mjwj-4x6c
npm petite-vue-i18n >= 10.0.0, < 10.0.5 10.0.5 GHSA-hjwq-mjwj-4x6c
npm vue-i18n >= 9.7.0, < 9.14.2 9.14.2 GHSA-hjwq-mjwj-4x6c
npm vue-i18n >= 10.0.0, < 10.0.5 10.0.5 GHSA-hjwq-mjwj-4x6c

References