Intel

AIKIDO-2024-10498

@intlify/shared is vulnerable to Prototype Pollution

Prototype PollutionCVE-2024-52810 Published Dec 2, 2024

80

High Risk

This Affects:

js@intlify/shared
9.3.0 - 9.14.1
Fixed in 9.14.2
10.0.0 - 10.0.4
Fixed in 10.0.5
Are you affected? Scan for Free

TL;DR

The latest version of @intlify/shared is vulnerable to Prototype Pollution through the lib.deepCopy function. An attacker can craft a payload that modifies the global prototype chain by adding or altering properties, leading to a Denial of Service (DoS) as a minimum impact. If the polluted properties affect sensitive areas of the application, such as Node.js APIs (exec, eval), the vulnerability can escalate to arbitrary command execution, posing a severe security risk.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@intlify/shared is vulnerable to Prototype Pollution in versions 9.3.0 - 9.14.1 and 10.0.0 - 10.0.4.

How to fix this

Upgrade the @intlify/shared library to a patch version.