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.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.8%top 44.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npm@intlify/shared10.0.5GHSA-hjwq-mjwj-4x6c
npm@intlify/shared9.14.2GHSA-hjwq-mjwj-4x6c
npm@intlify/vue-i18n-core9.14.2GHSA-hjwq-mjwj-4x6c
npm@intlify/vue-i18n-core10.0.5GHSA-hjwq-mjwj-4x6c
npmpetite-vue-i18n10.0.5GHSA-hjwq-mjwj-4x6c
npmvue-i18n9.14.2GHSA-hjwq-mjwj-4x6c
npmvue-i18n10.0.5GHSA-hjwq-mjwj-4x6c

Affected products (as reported)

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

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

References