Miggo Logo

CVE-2024-21505: web3-utils Prototype Pollution vulnerability

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.1946%
Published
3/27/2024
Updated
3/27/2024
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
web3-utilsnpm>= 4.0.1, < 4.2.14.2.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The GitHub advisory explicitly identifies mergeDeep as vulnerable, corroborated by the commit diff showing a fix in objects.ts. Snyk and NVD reports also list the format() function as vulnerable, with a PoC demonstrating exploitation. While the commit only addresses mergeDeep, multiple authoritative sources (Snyk, NVD) confirm both functions are entry points for the vulnerability. The confidence is high due to explicit mentions in advisories and reproducible exploitation steps.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t: T** m*r*****p() *un*tion in t** w***-utils p**k*** **s ***n i**nti*i** *or Prototyp* Pollution vuln*r**ility. *n *tt**k*r **s t** **ility to mo*i*y *n o*j**t's prototyp*, w*i** *oul* r*sult in ***n*in* t** ****vior o* *ll o*j**ts t**t in

Reasoning

T** *it*u* **visory *xpli*itly i**nti*i*s `m*r*****p` *s vuln*r**l*, *orro*or*t** *y t** *ommit *i** s*owin* * *ix in `o*j**ts.ts`. Snyk *n* NV* r*ports *lso list t** `*orm*t()` *un*tion *s vuln*r**l*, wit* * Po* **monstr*tin* *xploit*tion. W*il* t**